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-04-09 16:48:03 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2020-04-29 08:55:42 +0300
commit39ad6a9fabdeb828997b09071342cf1742c636a0 (patch)
tree4ea725ac077ed12e80a0d377033c87a634a3d03d /src/PublicShareAuthSidebar.vue
parent9fa0930abe843a8a15eb1ef343ddad40e9934130 (diff)
Add wrappers for signaling related functions
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/PublicShareAuthSidebar.vue')
-rw-r--r--src/PublicShareAuthSidebar.vue7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/PublicShareAuthSidebar.vue b/src/PublicShareAuthSidebar.vue
index 076ddfd3b..182fbffb1 100644
--- a/src/PublicShareAuthSidebar.vue
+++ b/src/PublicShareAuthSidebar.vue
@@ -48,7 +48,7 @@ import {
} from './services/participantsService'
import {
getSignaling,
- getSignalingSync,
+ signalingKill,
} from './utils/webrtc/index'
import browserCheck from './mixins/browserCheck'
@@ -104,10 +104,7 @@ export default {
if (this.token) {
// We have to do this synchronously, because in unload and beforeunload
// Promises, async and await are prohibited.
- const signaling = getSignalingSync()
- if (signaling) {
- signaling.disconnect()
- }
+ signalingKill()
leaveConversationSync(this.token)
}
})