From 4d2523d810e6ed56b5b7ae5850657d683cf38e64 Mon Sep 17 00:00:00 2001 From: morethanwords Date: Fri, 18 Jun 2021 14:11:06 +0300 Subject: [PATCH] Another rollback --- src/lib/appManagers/appNotificationsManager.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/appManagers/appNotificationsManager.ts b/src/lib/appManagers/appNotificationsManager.ts index d60f4bdf..25f8fea2 100644 --- a/src/lib/appManagers/appNotificationsManager.ts +++ b/src/lib/appManagers/appNotificationsManager.ts @@ -706,6 +706,7 @@ export class AppNotificationsManager { } private registerDevice(tokenData: PushSubscriptionNotify) { + return; if(this.registeredDevice && deepEqual(this.registeredDevice, tokenData)) { return false; } @@ -724,6 +725,7 @@ export class AppNotificationsManager { } private unregisterDevice(tokenData: PushSubscriptionNotify) { + return; if(!this.registeredDevice) { return false; }