diff --git a/src/services/notifications.service.ts b/src/services/notifications.service.ts index 5a52f527e3..d88d9124a4 100644 --- a/src/services/notifications.service.ts +++ b/src/services/notifications.service.ts @@ -185,7 +185,8 @@ export class NotificationsService implements NotificationsServiceAbstraction { private async isAuthedAndUnlocked() { if (await this.userService.isAuthenticated()) { - return this.lockService.isLocked(); + const locked = await this.lockService.isLocked(); + return !locked; } return false; }