fixed join

This commit is contained in:
2026-03-10 23:46:58 +01:00
parent 02fcfba5f1
commit 914f4ac97b

View File

@@ -109,6 +109,7 @@ public class WhiteboardHub : Hub
if (user == null) if (user == null)
{ {
user = await _userService.GetUser(userId); user = await _userService.GetUser(userId);
whiteboard.AddUser(user);
} }
await Clients.User(ownerId.ToString()).SendAsync("UserWaitingForApproval", user); await Clients.User(ownerId.ToString()).SendAsync("UserWaitingForApproval", user);