summary refs log tree commit diff
path: root/webclient/components/matrix/matrix-phone-service.js
diff options
context:
space:
mode:
authorDavid Baker <dbkr@matrix.org>2014-09-22 11:44:15 +0100
committerDavid Baker <dbkr@matrix.org>2014-09-22 11:44:15 +0100
commit4696622b0a10fff517f88a5f47b0806705196d39 (patch)
tree0c3cfd536f84c9be580129353cf98bd69f42afc4 /webclient/components/matrix/matrix-phone-service.js
parentBetter logging of ICE candidates and fail the call when ICE fails. (diff)
downloadsynapse-4696622b0a10fff517f88a5f47b0806705196d39.tar.xz
Propagate failure reason to the other party.
Diffstat (limited to '')
-rw-r--r--webclient/components/matrix/matrix-phone-service.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/components/matrix/matrix-phone-service.js b/webclient/components/matrix/matrix-phone-service.js
index 9d0b84fb23..06465ed821 100644
--- a/webclient/components/matrix/matrix-phone-service.js
+++ b/webclient/components/matrix/matrix-phone-service.js
@@ -145,7 +145,7 @@ angular.module('matrixPhoneService', [])
                 call.initWithHangup(event);
                 matrixPhoneService.allCalls[msg.call_id] = call;
             } else {
-                call.onHangupReceived();
+                call.onHangupReceived(msg);
                 delete(matrixPhoneService.allCalls[msg.call_id]);
             }
         }