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:
authorVincent Petry <vincent@nextcloud.com>2021-02-04 14:26:51 +0300
committerVincent Petry <vincent@nextcloud.com>2021-02-12 17:18:05 +0300
commit2999b5d66559817e57f52be5e02f9cd859da8cc0 (patch)
tree7ed01fbef8b39691f579d30fe08392a0c331406b /src/PublicShareAuthSidebar.vue
parenta5b115f943167732356abc4a946a93510915add0 (diff)
Fix redirect when deleting current conversation
When the current conversation was deleted while in a call, or whenever someone has been removed from a room, the redirect now targets the not-found page instead of the one about duplicate session. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'src/PublicShareAuthSidebar.vue')
-rw-r--r--src/PublicShareAuthSidebar.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/PublicShareAuthSidebar.vue b/src/PublicShareAuthSidebar.vue
index 7a178971a..09ef4dce5 100644
--- a/src/PublicShareAuthSidebar.vue
+++ b/src/PublicShareAuthSidebar.vue
@@ -48,7 +48,7 @@ import {
leaveConversationSync,
} from './services/participantsService'
import { signalingKill } from './utils/webrtc/index'
-import duplicateSessionHandler from './mixins/duplicateSessionHandler'
+import sessionIssueHandler from './mixins/sessionIssueHandler'
import talkHashCheck from './mixins/talkHashCheck'
export default {
@@ -61,7 +61,7 @@ export default {
},
mixins: [
- duplicateSessionHandler,
+ sessionIssueHandler,
talkHashCheck,
],
@@ -107,7 +107,7 @@ export default {
// We have to do this synchronously, because in unload and beforeunload
// Promises, async and await are prohibited.
signalingKill()
- if (!this.isLeavingAfterSessionConflict) {
+ if (!this.isLeavingAfterSessionIssue) {
leaveConversationSync(this.token)
}
}