Don't trigger `leave` actions when players navigate away
zkayser opened this issue · comments
When a player is involved in a PrivateRoom
game, they should remain in the Room
's seating even if they navigate away from the page or disconnect from the Socket
. The way the disconnect behaves now is the same as it is for public room instances, where this is the correct behavior. This should require some changes to the way the disconnect
messages are handled in the Room
module and its sub-modules.
This was already taken care of on the server-side. Needed to make some adjustments around how the client reconnects to private room channels, though.