summary refs log tree commit diff
path: root/webclient/room/room.html
diff options
context:
space:
mode:
authorDavid Baker <dbkr@matrix.org>2014-09-01 17:41:42 +0100
committerDavid Baker <dbkr@matrix.org>2014-09-01 17:41:42 +0100
commitab8de33c761142b211b76b2e3fdf2ea33ab9ca93 (patch)
treef8c1798b2d7fa3dbed160dd7cb8f6a277dcedd75 /webclient/room/room.html
parentAdded docs on presence 'last_active' field (diff)
downloadsynapse-ab8de33c761142b211b76b2e3fdf2ea33ab9ca93.tar.xz
Oops, show the voice call button once a call has ended
Diffstat (limited to '')
-rw-r--r--webclient/room/room.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/room/room.html b/webclient/room/room.html
index a62477e9cc..c4d6ccd6cc 100644
--- a/webclient/room/room.html
+++ b/webclient/room/room.html
@@ -100,7 +100,7 @@
                         <button ng-click="inviteUser(userIDToInvite)">Invite</button>
                 </span>
                 <button ng-click="leaveRoom()">Leave</button>
-                <button ng-click="startVoiceCall()" ng-show="currentCall == undefined && memberCount() == 2">Voice Call</button>
+                <button ng-click="startVoiceCall()" ng-show="(currentCall == undefined || currentCall.state == 'ended') && memberCount() == 2">Voice Call</button>
             </div>
         
             {{ feedback }}