summaryrefslogtreecommitdiffstats
path: root/js/webrtc.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/webrtc.js')
-rw-r--r--js/webrtc.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/webrtc.js b/js/webrtc.js
index 4037f7ade..27e7cc6bd 100644
--- a/js/webrtc.js
+++ b/js/webrtc.js
@@ -661,10 +661,16 @@ var spreedPeerConnectionTable = [];
});
OCA.SpreedMe.webrtc.on('joinedCall', function() {
+ OCA.SpreedMe.app.syncRooms();
+
$('#app-content').removeClass('icon-loading');
$('.videoView').removeClass('hidden');
});
+ OCA.SpreedMe.webrtc.on('leftCall', function() {
+ OCA.SpreedMe.app.syncRooms();
+ });
+
OCA.SpreedMe.webrtc.on('channelOpen', function(channel) {
console.log('%s datachannel is open', channel.label);
});