xf 1 éve
szülő
commit
41ab9df346
1 módosított fájl, 2 hozzáadás és 2 törlés
  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