Quellcode durchsuchen

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

Fixes #451
IndianaDschones vor 7 Jahren
Ursprung
Commit
2a946eb658
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  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
         });