xf 1 жил өмнө
parent
commit
41ab9df346

+ 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