diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-02-04 14:26:51 +0300 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2021-02-12 17:18:05 +0300 |
commit | 2999b5d66559817e57f52be5e02f9cd859da8cc0 (patch) | |
tree | 7ed01fbef8b39691f579d30fe08392a0c331406b /src/FilesSidebarCallViewApp.vue | |
parent | a5b115f943167732356abc4a946a93510915add0 (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/FilesSidebarCallViewApp.vue')
-rw-r--r-- | src/FilesSidebarCallViewApp.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/FilesSidebarCallViewApp.vue b/src/FilesSidebarCallViewApp.vue index 7f5827c1e..cf519dde8 100644 --- a/src/FilesSidebarCallViewApp.vue +++ b/src/FilesSidebarCallViewApp.vue @@ -33,7 +33,7 @@ <script> import CallView from './components/CallView/CallView' import PreventUnload from 'vue-prevent-unload' -import duplicateSessionHandler from './mixins/duplicateSessionHandler' +import sessionIssueHandler from './mixins/sessionIssueHandler' import isInCall from './mixins/isInCall' import participant from './mixins/participant' import talkHashCheck from './mixins/talkHashCheck' @@ -49,7 +49,7 @@ export default { }, mixins: [ - duplicateSessionHandler, + sessionIssueHandler, isInCall, participant, talkHashCheck, @@ -108,7 +108,7 @@ export default { }, warnLeaving() { - return !this.isLeavingAfterSessionConflict && this.showCallView + return !this.isLeavingAfterSessionIssue && this.showCallView }, }, |