cleaned code

This commit is contained in:
2026-03-07 17:51:02 +01:00
parent 49aed2493a
commit 0e6caa136e
13 changed files with 39 additions and 33 deletions

View File

@@ -25,7 +25,7 @@ public class WhiteboardHub : Hub
public async Task JoinWhiteboard(Guid whiteboardId)
{
if (!_whiteboardManager.WhiteboardExists(whiteboardId))
await _whiteboardManager.AddWhiteboard(whiteboardId);
await _whiteboardManager.LoadWhiteboard(whiteboardId);
await Groups.AddToGroupAsync(Context.ConnectionId, whiteboardId.ToString());