From 1e6d36f8be2529c95c2e376ae780e4dc45320b7c Mon Sep 17 00:00:00 2001 From: Rachel Appel Date: Mon, 2 Apr 2018 18:19:32 +0200 Subject: [PATCH] fix (#5853) --- aspnetcore/signalr/hubs/sample/ChatHub.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aspnetcore/signalr/hubs/sample/ChatHub.cs b/aspnetcore/signalr/hubs/sample/ChatHub.cs index 8acb50ef41..6c2696227a 100644 --- a/aspnetcore/signalr/hubs/sample/ChatHub.cs +++ b/aspnetcore/signalr/hubs/sample/ChatHub.cs @@ -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(); } } }