pull/5859/head
Rachel Appel 2018-04-02 18:19:32 +02:00 committed by GitHub
parent 5b93061cf4
commit 1e6d36f8be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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();
}
}
}