Avatar

Level 10
Hi CS,



Thanks for the super-clear report. We'll look into the
double-event issue : If it's a bug (and it almost certainly is)
we'll get it for the next release drop.



As for the more general problem of knowing if there's a
host, if you want to do it client-only, we do force you to connect
to get this state. If you need to know the state before forcing
users to connect, most solutions involve you running a server to
either :



a. keep track of who you're sending to what apps, and the
roles you've given them via external auth. You'd keep a DB of who
went where.

2. Query an HTTP API from your server to ours, which would
return the list of users in a room. We haven't added support for
this, but are doing some speccing of how this API would look, which
we'll start sharing soonish.



let me know if that helps

nigel