1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-05 11:13:44 +00:00

fix(inactive-user-server-notification): [PM-25130] Inactive User Server Notify - Fixed location of set definition.

This commit is contained in:
Patrick Pimentel
2025-09-03 13:58:41 -04:00
parent 8a96fd590c
commit 3a00a710bd
2 changed files with 4 additions and 6 deletions

View File

@@ -1,5 +0,0 @@
import { NotificationType } from "@bitwarden/common/enums";
export const AllowedMultiUserNotificationTypes = new Set<NotificationType>([
NotificationType.AuthRequest,
]);

View File

@@ -18,7 +18,6 @@ import {
import { LogoutReason } from "@bitwarden/auth/common";
import { AuthRequestAnsweringServiceAbstraction } from "@bitwarden/common/auth/abstractions/auth-request-answering/auth-request-answering.service.abstraction";
import { FeatureFlag } from "@bitwarden/common/enums/feature-flag.enum";
import { AllowedMultiUserNotificationTypes } from "@bitwarden/common/platform/enums/multi-user-allow-list.enum";
import { AccountService } from "../../../auth/abstractions/account.service";
import { AuthService } from "../../../auth/abstractions/auth.service";
@@ -45,6 +44,10 @@ import { WebPushConnectionService } from "./webpush-connection.service";
export const DISABLED_NOTIFICATIONS_URL = "http://-";
export const AllowedMultiUserNotificationTypes = new Set<NotificationType>([
NotificationType.AuthRequest,
]);
export class DefaultServerNotificationsService implements ServerNotificationsService {
notifications$: Observable<readonly [NotificationResponse, UserId]>;