No Connection Response on empty users array.
sawarni99 opened this issue · comments
After connecting to the server, socket waits for the response from the server as ACK or DENY. But if there is no users in the room initially, it does not respond.
Code for connection.
Website on which test is running.
Steps to Generate.
-
Set the username to anything (say Sawarni).
-
Click on Generate Link.
-> It prints sending req on console but does not print ACK or DENY as a response.
-> However it sets user in the server.
-
Refresh the website and click on Generate Link again.
-> Now the connection response will show on the console.
We have to remove this bug. Whenever a user clicks on the Generate Link button, server should send a response to the client.
FIxed