Releases: Alafazam/easy_chat
Releases · Alafazam/easy_chat
First 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.