mirror of
https://github.com/bitwarden/server.git
synced 2025-02-02 23:41:21 +01:00
sync org keys notification when removed from org
This commit is contained in:
parent
f96e3ee01b
commit
90387cca0c
@ -1143,6 +1143,7 @@ namespace Bit.Core.Services
|
||||
// push
|
||||
var deviceIds = await GetUserDeviceIdsAsync(orgUser.UserId.Value);
|
||||
await _pushRegistrationService.DeleteUserRegistrationOrganizationAsync(deviceIds, organizationId.ToString());
|
||||
await _pushNotificationService.PushSyncOrgKeysAsync(orgUser.UserId.Value);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1168,6 +1169,7 @@ namespace Bit.Core.Services
|
||||
// push
|
||||
var deviceIds = await GetUserDeviceIdsAsync(orgUser.UserId.Value);
|
||||
await _pushRegistrationService.DeleteUserRegistrationOrganizationAsync(deviceIds, organizationId.ToString());
|
||||
await _pushNotificationService.PushSyncOrgKeysAsync(orgUser.UserId.Value);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user