notes
This commit is contained in:
parent
7682b09aa2
commit
5c1d53379e
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ pub async fn on_websocket_connection(stream: WebSocket, state: Arc<AppState>, ad
|
|||
))
|
||||
.await;
|
||||
|
||||
// Add user to users using `addr` until something longer lived exists
|
||||
state.users.lock().unwrap().insert(addr, new_user);
|
||||
|
||||
// hydrate user
|
||||
|
|
Loading…
Add table
Reference in a new issue