That's what I'm doing now, but I also have to keep a running tab of
any other rooms the user is in. I'm just curious if the library itself
does this somewhere internally, otherwise I'm doing double the work.
- Brian
On Nov 18, 6:09 am, Pavel Sakun <
snaky...@gmail.com> wrote:
> What about something like:
> socket.on("disconnect" function() {
> this.leave("room");
>
> });
>
> It's not real code, just to explain my idea.
>