mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 19:04:58 -04:00
Hangup call if user denies media access.
This commit is contained in:
parent
ccfb42e4ff
commit
f90ce04a83
2 changed files with 2 additions and 8 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue