xf 1 год назад
Родитель
Сommit
41ab9df346
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/Hotline.Api/Realtimes/HotlineHub.cs

+ 2 - 2
src/Hotline.Api/Realtimes/HotlineHub.cs

@@ -117,8 +117,8 @@ namespace Hotline.Api.Realtimes
             await Clients.Group(dto.GroupName).SendAsync("Send", $"{Context.ConnectionId} has left the group {dto.GroupName}.");
 
             //check if not in any groups then disconnect the connection
-            if (!connection.GroupNames.Any())
-                Context.Abort();
+            //if (!connection.GroupNames.Any())
+            //    Context.Abort();
         }
 
         #region private