Kaynağa Gözat

Reset receiver active state on session logout/delete (#469)

Fixes #451
IndianaDschones 7 yıl önce
ebeveyn
işleme
c27a5d8a35
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      src/partials/messenger.ts

+ 2 - 0
src/partials/messenger.ts

@@ -918,6 +918,7 @@ class NavigationController {
             const resetPush = true;
             const redirect = true;
             this.webClientService.stop(true, deleteStoredData, resetPush, redirect);
+            this.receiverService.setActive(undefined);
         }, () => {
             // do nothing
         });
@@ -938,6 +939,7 @@ class NavigationController {
             const resetPush = true;
             const redirect = true;
             this.webClientService.stop(true, deleteStoredData, resetPush, redirect);
+            this.receiverService.setActive(undefined);
         }, () => {
             // do nothing
         });