Fix the Direct Message functionality for all the client options?

This commit is contained in:
Charles Descamps 2025-03-28 20:55:00 -07:00
parent 20b2702fcf
commit 88e58bb79c

View file

@ -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