Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-06-16 12:57:21 +0300
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2020-07-01 14:11:39 +0300
commit5733c497a9dda035a5a9633b0d93c336e2291440 (patch)
tree3777006aff783f72d182930db4f3889ba5be9f49 /src/FilesSidebarCallViewApp.vue
parent0385e9a524647b98380bb1bdd572326c75e0486b (diff)
Don't show call state when asking to kill the other session
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/FilesSidebarCallViewApp.vue')
-rw-r--r--src/FilesSidebarCallViewApp.vue4
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() {