diff options
author | Joas Schilling <coding@schilljs.com> | 2020-06-24 15:58:19 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-07-01 11:00:24 +0300 |
commit | d54249f2d4a372db4fce298ef623c180a2cb3262 (patch) | |
tree | 99efd5006c848a57f08c98b7fcc3244dc114984b /src/PublicShareAuthSidebar.vue | |
parent | 389d7b6bfc16a29ced52cb41b0e7fbb5facbb4c9 (diff) |
Don't kill the previous session when we navigate away
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/PublicShareAuthSidebar.vue')
-rw-r--r-- | src/PublicShareAuthSidebar.vue | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/PublicShareAuthSidebar.vue b/src/PublicShareAuthSidebar.vue index 1d7dc5149..c4ad49552 100644 --- a/src/PublicShareAuthSidebar.vue +++ b/src/PublicShareAuthSidebar.vue @@ -109,7 +109,9 @@ export default { // We have to do this synchronously, because in unload and beforeunload // Promises, async and await are prohibited. signalingKill() - leaveConversationSync(this.token) + if (!this.isLeavingAfterSessionConflict) { + leaveConversationSync(this.token) + } } }) }, |