mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
ensure that message is for proper logged in user
This commit is contained in:
@@ -26,7 +26,8 @@ export class NotificationResponse {
|
||||
case NotificationType.SyncCiphers:
|
||||
case NotificationType.SyncOrgKeys:
|
||||
case NotificationType.SyncSettings:
|
||||
this.payload = new SyncUserNotification(payload);
|
||||
case NotificationType.LogOut:
|
||||
this.payload = new UserNotification(payload);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
@@ -62,7 +63,7 @@ export class SyncFolderNotification {
|
||||
}
|
||||
}
|
||||
|
||||
export class SyncUserNotification {
|
||||
export class UserNotification {
|
||||
userId: string;
|
||||
date: Date;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user