CodeRoyale / lobby

Lobby (Backend) for CodeRoyale

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A user can join a lobby many times

sawarni99 opened this issue · comments

We have to check the lobby array if the user is already in a lobby.

Steps to create this bug.

  • Create a lobby with any name (say Mayur).
    connection-lobby

  • Create a room with the same username.
    created-lobby-server

  • Connect with a new user (say Harshit).

  • Join the lobby with room_id as Mayur.

  • Join the lobby again with the same username Harshit and room_id Mayur.
    join-lobby-frontend

Fixed