Fix the Direct Message functionality for all the client options?
This commit is contained in:
parent
20b2702fcf
commit
88e58bb79c
1 changed files with 1 additions and 1 deletions
|
|
@ -315,7 +315,7 @@ def handle_join(data):
|
||||||
emit('error', {'message': 'Username is required'})
|
emit('error', {'message': 'Username is required'})
|
||||||
return
|
return
|
||||||
|
|
||||||
# Update client info
|
# Update client info for WebSocket clients
|
||||||
client_info[request.sid]["username"] = username
|
client_info[request.sid]["username"] = username
|
||||||
client_info[request.sid]["chat_room"] = chat_room
|
client_info[request.sid]["chat_room"] = chat_room
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue