fix (#5853)
parent
5b93061cf4
commit
1e6d36f8be
|
@ -23,10 +23,10 @@ namespace SignalRChat
|
|||
return Clients.Groups(groups).SendAsync("ReceiveMessage", message);
|
||||
}
|
||||
|
||||
public override Task OnConnectedAsync()
|
||||
public override async Task OnConnectedAsync()
|
||||
{
|
||||
await Groups.AddAsync(Context.User.Identity.Name, "SignalR Users");
|
||||
return base.OnConnectedAsync();
|
||||
await base.OnConnectedAsync();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue