Closed crmepham closed 9 years ago
If user enters a username that already exists in the user list, they are prompted to enter another username.
If the user cancels this prompt they are given a name of "null" and enter the chat.
If user presses "cancel" don't initiate websocket connection.
added null check
If user enters a username that already exists in the user list, they are prompted to enter another username.
If the user cancels this prompt they are given a name of "null" and enter the chat.
If user presses "cancel" don't initiate websocket connection.