0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-27 06:58:18 +02:00

Oops, show the voice call button once a call has ended

This commit is contained in:
David Baker 2014-09-01 17:41:42 +01:00
parent 32bfd567ac
commit ab8de33c76

View file

@ -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 }}