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>2018-03-20 19:35:34 +0300
committerJoas Schilling <coding@schilljs.com>2018-03-22 11:59:59 +0300
commite7711ffa24d3202cc794a3530bf18b4d868f6408 (patch)
tree48f5c00919fb8ac17b52853835572262ec022a2d /js/connection.js
parentbc3484828f08ae455cf63ce4b38f6192f404ae62 (diff)
Disconnect media when leaving call
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'js/connection.js')
-rw-r--r--js/connection.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/connection.js b/js/connection.js
index 2e418dda1..f6fa10880 100644
--- a/js/connection.js
+++ b/js/connection.js
@@ -120,7 +120,7 @@
$('#app-content').removeClass('incall');
},
leaveCurrentCall: function(deleter) {
- this.app.signaling.leaveRoom();
+ this.app.signaling.leaveCall();
OC.Util.History.pushState({}, OC.generateUrl('/apps/spreed'));
$('#app-content').removeClass('incall');
this.showRoomDeletedMessage(deleter);