Reputation: 4359
What it says at the top - for a given client, can I see what rooms they have joined?
Thanks
Upvotes: 1
Views: 344
Reputation: 47993
Given a socket
you can get all the rooms it has joined via io.sockets.manager.roomClients[socket.id]
.
See here.
Upvotes: 2