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:
@@ -240,6 +240,7 @@ loop.conversation = (function(OT, mozL10n) {
|
||||
*/
|
||||
accept: function() {
|
||||
navigator.mozLoop.stopAlerting();
|
||||
this._websocket.accept();
|
||||
this._conversation.incoming();
|
||||
},
|
||||
|
||||
|
||||
@@ -240,6 +240,7 @@ loop.conversation = (function(OT, mozL10n) {
|
||||
*/
|
||||
accept: function() {
|
||||
navigator.mozLoop.stopAlerting();
|
||||
this._websocket.accept();
|
||||
this._conversation.incoming();
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user