diff options
author | David Baker <dbkr@matrix.org> | 2014-09-16 14:46:13 +0100 |
---|---|---|
committer | David Baker <dbkr@matrix.org> | 2014-09-16 14:47:10 +0100 |
commit | dd2b933a0d92f24421a56ec350ae0f80e32d2d3e (patch) | |
tree | 38c374cae7631e18892432bfc15527ada2d41059 /webclient/index.html | |
parent | Comment out password reset for now, until the mechanism is fully discussed (I... (diff) | |
download | synapse-dd2b933a0d92f24421a56ec350ae0f80e32d2d3e.tar.xz |
Use event age to recognise which calls are current and which aren't and hence support answering calls that were placed before we loaded the page.
Diffstat (limited to 'webclient/index.html')
-rw-r--r-- | webclient/index.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webclient/index.html b/webclient/index.html index 9eea08215c..7e4dcb8345 100644 --- a/webclient/index.html +++ b/webclient/index.html @@ -62,7 +62,8 @@ <span ng-show="currentCall.state == 'connecting'">Call Connecting...</span> <span ng-show="currentCall.state == 'connected'">Call Connected</span> <span ng-show="currentCall.state == 'ended' && !currentCall.didConnect && currentCall.direction == 'outbound' && currentCall.hangupParty == 'remote'">Call Rejected</span> - <span ng-show="currentCall.state == 'ended' && !currentCall.didConnect && currentCall.direction == 'outbound' && currentCall.hangupParty == 'local'">Call Canceled</span> + <span ng-show="currentCall.state == 'ended' && !currentCall.didConnect && currentCall.direction == 'outbound' && currentCall.hangupParty == 'local' && currentCall.hangupReason == undefined">Call Canceled</span> + <span ng-show="currentCall.state == 'ended' && !currentCall.didConnect && currentCall.direction == 'outbound' && currentCall.hangupParty == 'local' && currentCall.hangupReason == 'invite_timeout'">User Not Responding</span> <span ng-show="currentCall.state == 'ended' && currentCall.didConnect && currentCall.direction == 'outbound'">Call Ended</span> <span ng-show="currentCall.state == 'ended' && !currentCall.didConnect && currentCall.direction == 'inbound'">Call Canceled</span> <span ng-show="currentCall.state == 'ended' && currentCall.didConnect && currentCall.direction == 'inbound'">Call Ended</span> |