fixed join
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user