summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Baker <dbkr@matrix.org>2014-11-12 17:27:41 +0000
committerDavid Baker <dbkr@matrix.org>2014-11-12 17:31:03 +0000
commit2b64c573c3ad9fcfe3d884047804c5b5f1e19967 (patch)
treed04ed6d3548116a69168e61dcdec69be654c0804
parentFix ability to invite users. Remove unused variables. (diff)
downloadsynapse-2b64c573c3ad9fcfe3d884047804c5b5f1e19967.tar.xz
Oops, change videoElement / selector in audio call too.
-rw-r--r--syweb/webclient/room/room-controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/syweb/webclient/room/room-controller.js b/syweb/webclient/room/room-controller.js
index fa542129b7..6670201707 100644
--- a/syweb/webclient/room/room-controller.js
+++ b/syweb/webclient/room/room-controller.js
@@ -898,7 +898,7 @@ angular.module('RoomController', ['ngSanitize', 'matrixFilter', 'mFileInput', 'a
         call.onError = $rootScope.onCallError;
         call.onHangup = $rootScope.onCallHangup;
         // remote video element is used for playing audio in voice calls
-        call.remoteVideoElement = angular.element('#remoteVideo')[0];
+        call.remoteVideoSelector = angular.element('#remoteVideo')[0];
         call.placeVoiceCall();
         $rootScope.currentCall = call;
     };