Преглед на файлове

Remove unnecessary double-reset of the push service

Lennart Grahl преди 7 години
родител
ревизия
4f284df918
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  1. 0 1
      src/services/webclient.ts

+ 0 - 1
src/services/webclient.ts

@@ -1086,7 +1086,6 @@ export class WebClientService {
         // Clear stored data (trusted key, push token, etc) if deleting the session
         if (remove) {
             this.trustedKeyStore.clearTrustedKey();
-            this.pushService.reset();
         }
 
         // Invalidate and clear caches