This commit is contained in:
2026-03-10 23:57:24 +01:00
parent 914f4ac97b
commit eb50f45822

View File

@@ -129,8 +129,7 @@ public class WhiteboardHub : Hub
await Clients.User(targetUserId.ToString()).SendAsync("Accepted");
await Clients.User(targetUserId.ToString()).SendAsync("InitWhiteboard", whiteboard);
await Clients.GroupExcept(whiteboard.WhiteboardId.ToString(),
Context.ConnectionId).SendAsync("Joined", user);
await Clients.Group(whiteboard.WhiteboardId.ToString()).SendAsync("Joined", user);
}
public async Task RejectUser(Guid targetUserId)