浏览代码

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

Fixes #451
IndianaDschones 7 年之前
父节点
当前提交
2a946eb658
共有 1 个文件被更改,包括 2 次插入0 次删除
  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
         });