mirror of
https://github.com/bitwarden/server.git
synced 2025-07-06 02:22:49 -05:00
PM-10600: Sending to specific client types for other clients
This commit is contained in:
@ -51,6 +51,7 @@ public class SyncNotificationPushNotification
|
||||
public bool Global { get; set; }
|
||||
public Guid? UserId { get; set; }
|
||||
public Guid? OrganizationId { get; set; }
|
||||
public ClientType ClientType { get; set; }
|
||||
public DateTime RevisionDate { get; set; }
|
||||
}
|
||||
|
||||
|
@ -174,6 +174,7 @@ public class AzureQueuePushNotificationService : IPushNotificationService
|
||||
Global = notification.Global,
|
||||
UserId = notification.Id,
|
||||
OrganizationId = notification.Id,
|
||||
ClientType = notification.ClientType,
|
||||
RevisionDate = notification.RevisionDate
|
||||
};
|
||||
|
||||
|
@ -202,6 +202,7 @@ public class NotificationHubPushNotificationService : IPushNotificationService
|
||||
Global = notification.Global,
|
||||
UserId = notification.Id,
|
||||
OrganizationId = notification.Id,
|
||||
ClientType = notification.ClientType,
|
||||
RevisionDate = notification.RevisionDate
|
||||
};
|
||||
|
||||
|
@ -181,6 +181,7 @@ public class NotificationsApiPushNotificationService : BaseIdentityClientService
|
||||
Global = notification.Global,
|
||||
UserId = notification.Id,
|
||||
OrganizationId = notification.Id,
|
||||
ClientType = notification.ClientType,
|
||||
RevisionDate = notification.RevisionDate
|
||||
};
|
||||
|
||||
|
@ -197,6 +197,7 @@ public class RelayPushNotificationService : BaseIdentityClientService, IPushNoti
|
||||
Global = notification.Global,
|
||||
UserId = notification.Id,
|
||||
OrganizationId = notification.Id,
|
||||
ClientType = notification.ClientType,
|
||||
RevisionDate = notification.RevisionDate
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user