From 7e0c0675ff200a0beb554b2a8cc0308f3aa52c27 Mon Sep 17 00:00:00 2001 From: Maciej Zieniuk Date: Tue, 22 Oct 2024 11:26:02 +0100 Subject: [PATCH] PM-10600: Explicit group names --- src/Notifications/NotificationsHub.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Notifications/NotificationsHub.cs b/src/Notifications/NotificationsHub.cs index 2cbe48d11f..77f5c0ec4e 100644 --- a/src/Notifications/NotificationsHub.cs +++ b/src/Notifications/NotificationsHub.cs @@ -89,13 +89,13 @@ public class NotificationsHub : Microsoft.AspNetCore.SignalR.Hub public static string GetUserGroup(Guid userId, ClientType clientType) { - return $"{userId}_{clientType}"; + return $"UserClientType_{userId}_{clientType}"; } public static string GetOrganizationGroup(Guid organizationId, ClientType? clientType = null) { return clientType is not ClientType.All ? $"Organization_{organizationId}" - : $"Organization_{organizationId}_{clientType}"; + : $"OrganizationClientType_{organizationId}_{clientType}"; } }