From 3313d0623a0050c4a8a4207cc28d6e646ed39b07 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 22 Mar 2021 19:19:25 +0100 Subject: [PATCH] thinko with push checks --- src/matrix/Session.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix/Session.js b/src/matrix/Session.js index ad52aec6..735967bf 100644 --- a/src/matrix/Session.js +++ b/src/matrix/Session.js @@ -515,7 +515,7 @@ export class Session { } async arePushNotificationsEnabled() { - if (await this._platform.notificationService.isPushEnabled()) { + if (!await this._platform.notificationService.isPushEnabled()) { return false; } const readTxn = await this._storage.readTxn([this._storage.storeNames.session]);