1

What it says at the top - for a given client, can I see what rooms they have joined?

Thanks

Gausie
  • 4,291
  • 1
  • 25
  • 36

1 Answers1

2

Given a socket you can get all the rooms it has joined via io.sockets.manager.roomClients[socket.id].

See here.

user568109
  • 47,225
  • 17
  • 99
  • 123