xf 1 yıl önce
ebeveyn
işleme
41ab9df346
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  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