gniazdo io zostaw wszystkie pokoje
// Function to get socket to leave all rooms it's connected to.
socket.leaveAll();
Bugge
// Function to get socket to leave all rooms it's connected to.
socket.leaveAll();