mirror of
https://github.com/bitwarden/server.git
synced 2024-11-25 12:45:18 +01:00
PM-10600: Explicit group names
This commit is contained in:
parent
36c8dfa0b8
commit
7e0c0675ff
@ -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}";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user