I've got a problem with rejoining room after disconnection or kick. When my client first connects to the room, using the next code:
- Code: Select all
_room = _reactor.getRoomManager().joinRoom(roomID);
the room is created on client side and I can add listeners to it and so on, I mean it isn't null.
Then I save the room's id to a variable to be able to rejoin it if disconnection occurs
But when I try to join it again, room manager's method joinRoom() returns null. And getNumRoom() returns 0 (if it was the only room on the server).
Even though the room still persists on server side, I can see it in union admin tool.
I've looked thru docs, but didn't find the reason why it happens.
So, is it a bug? Or is it an intentional behavior and there's some solution?
btw, even after reconnecting and re-logining into the system, client manager still can't join the room
regards, Konstantin.