MikaelElkiaer/planning-poker

User 'disconnects' when one of multiple tabs is closed

MikaelElkiaer opened this issue · 0 comments

If someone has opened the app multiple times in the same browser, it controls the same user.
Then when one of these tabs are closed, the user will show as being disconnected.

The solution here is probably something along the line of keeping multiple socket ids per user, and then only show the user as disconnected once all sockets have disconnected.