Skip to content

Releases: Alafazam/easy_chat

First release.

29 Jul 05:30
Compare
Choose a tag to compare
First release. Pre-release
Pre-release
Chatrooms: delete when last user leaves

We were using a for loop to check for empty rooms. Now we watch which
socket is connected to what namespace. When a socket fires its
'disconnected' event, we check if it is the last socket in its namespace.
If yes, then we delete the namespace.