Is it possible to have a client leave a room using just the socket ID with the io object?
io.sockets(specificSocketID).leave('sampleroom');
The documentation mentions using the leave method with the socket, but I am looking for a way to achieve this with the io object instead. Can anyone provide guidance on how to make this work?