mirror of
https://github.com/bitwarden/server.git
synced 2025-07-01 16:12:49 -05:00
PM-10600: Explicit group names
This commit is contained in:
@ -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}";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user