ChandimaPrabath commited on
Commit
fab9207
·
verified ·
1 Parent(s): f59a9a4

update. added session token

Browse files
Files changed (1) hide show
  1. relay.py +1 -1
relay.py CHANGED
@@ -33,7 +33,7 @@ async def register_client(websocket: WebSocket, username: str, token: str):
33
  """Register a new client with a session token."""
34
  active_connections[username] = websocket
35
  session_tokens[username] = token # Store the session token
36
- print(f"DEBUG: {username} connected with token.")
37
 
38
  # Deliver undelivered messages if any
39
  if username in message_store:
 
33
  """Register a new client with a session token."""
34
  active_connections[username] = websocket
35
  session_tokens[username] = token # Store the session token
36
+ print(f"DEBUG: {username} connected with token. {token}")
37
 
38
  # Deliver undelivered messages if any
39
  if username in message_store: