SocketWeaver/lobby

How to get Room by name?

yong2khoo88 opened this issue · 1 comments

I am able to get rooms with GetRooms, but it returns based on page index and total item per page.
Here i would like to get room by its name.

Meaning, instead of listing all rooms, i would let user to enter the exact name to be able to enter the room.

The FilterRoom seems to serve the purpose (from its naming convention), but i am getting the error
image

By the way, i didnt see any example with FilterRoom. correct me if i am wrong.

I think i get it, "Player is already in room".
for some reasons, the room is dangling there even the app quits and restarts.
It detects the user as room creator.
And it only recovers after some time.

But i am curious, the behavior should be similar to getRooms, as it doesn't have this error even though the room is dangling.