summary refs log tree commit diff
path: root/webclient/app-controller.js
diff options
context:
space:
mode:
authorDavid Baker <dbkr@matrix.org>2014-09-09 18:21:03 +0100
committerDavid Baker <dbkr@matrix.org>2014-09-09 18:21:03 +0100
commitf90ce04a8318d00df9db70e1b4cae500785a7d44 (patch)
tree6593c3f23655771f46f3612e121ee2550cf12cf2 /webclient/app-controller.js
parentDon't try setting up the call if the user has canceled it before allowing per... (diff)
downloadsynapse-f90ce04a8318d00df9db70e1b4cae500785a7d44.tar.xz
Hangup call if user denies media access.
Diffstat (limited to 'webclient/app-controller.js')
-rw-r--r--webclient/app-controller.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/webclient/app-controller.js b/webclient/app-controller.js
index 4a57f66ef0..f28da87ccc 100644
--- a/webclient/app-controller.js
+++ b/webclient/app-controller.js
@@ -142,14 +142,6 @@ angular.module('MatrixWebClientController', ['matrixService', 'mPresence', 'even
 
     $scope.hangupCall = function() {
         $rootScope.currentCall.hangup();
-
-        $timeout(function() {
-            var icon = angular.element('#callEndedIcon');
-            $animate.addClass(icon, 'callIconRotate');
-            $timeout(function(){
-                $rootScope.currentCall = undefined;
-            }, 4070);
-        }, 100);
     };
     
     $rootScope.onCallError = function(errStr) {