This commit is contained in:
Adam 2024-07-27 05:07:59 -04:00
parent 7682b09aa2
commit 5c1d53379e

View file

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