diff options
Diffstat (limited to 'src/FilesSidebarCallViewApp.vue')
-rw-r--r-- | src/FilesSidebarCallViewApp.vue | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/FilesSidebarCallViewApp.vue b/src/FilesSidebarCallViewApp.vue index 052cbbfd5..24e2e9fff 100644 --- a/src/FilesSidebarCallViewApp.vue +++ b/src/FilesSidebarCallViewApp.vue @@ -37,6 +37,7 @@ import PreventUnload from 'vue-prevent-unload' import browserCheck from './mixins/browserCheck' import duplicateSessionHandler from './mixins/duplicateSessionHandler' import talkHashCheck from './mixins/talkHashCheck' +import SessionStorage from './services/SessionStorage' export default { @@ -113,7 +114,8 @@ export default { const participant = this.$store.getters.getParticipant(this.token, participantIndex) - return participant.inCall !== PARTICIPANT.CALL_FLAG.DISCONNECTED + return SessionStorage.getItem('joined_conversation') === this.token + && participant.inCall !== PARTICIPANT.CALL_FLAG.DISCONNECTED }, warnLeaving() { |