diff options
author | David Baker <dbkr@matrix.org> | 2014-09-01 14:15:03 +0100 |
---|---|---|
committer | David Baker <dbkr@matrix.org> | 2014-09-01 14:15:32 +0100 |
commit | 67ffc00d489bf9571a734c24fcac79d18af2bcb6 (patch) | |
tree | 8779c9046c2b6364af685446d7fcca9a9bca79c3 /webclient/room/room.html | |
parent | Added /web folder which contains html/css (based off the default swagger-ui) ... (diff) | |
download | synapse-67ffc00d489bf9571a734c24fcac79d18af2bcb6.tar.xz |
Don't show the hang up button once tha call has ended
Diffstat (limited to 'webclient/room/room.html')
-rw-r--r-- | webclient/room/room.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/room/room.html b/webclient/room/room.html index e5e454864b..d5b0f0ab96 100644 --- a/webclient/room/room.html +++ b/webclient/room/room.html @@ -106,7 +106,7 @@ <button ng-click="answerCall()">Answer</button> <button ng-click="hangupCall()">Reject</button> </div> - <button ng-click="hangupCall()" ng-show="currentCall && currentCall.state != 'ringing'">Hang up</button> + <button ng-click="hangupCall()" ng-show="currentCall && currentCall.state != 'ringing' && currentCall.state != 'ended' && currentCall.state != 'fledgling'">Hang up</button> <span ng-show="currentCall.state == 'invite_sent'">Calling...</span> <span ng-show="currentCall.state == 'connecting'">Call Connecting...</span> <span ng-show="currentCall.state == 'connected'">Call Connected</span> |