Bug 1045643 Part 1 - Notify the Loop server when the desktop client accepts the call, so that it can update the call status. r=nperriault

This commit is contained in:
Mark Banner
2014-08-29 11:22:18 +01:00
parent b4a0501334
commit 03464468e6
5 changed files with 49 additions and 1 deletions

View File

@@ -240,6 +240,7 @@ loop.conversation = (function(OT, mozL10n) {
*/
accept: function() {
navigator.mozLoop.stopAlerting();
this._websocket.accept();
this._conversation.incoming();
},

View File

@@ -240,6 +240,7 @@ loop.conversation = (function(OT, mozL10n) {
*/
accept: function() {
navigator.mozLoop.stopAlerting();
this._websocket.accept();
this._conversation.incoming();
},