Bug 1045569 - Revoke the correct call url in loop desktop client, r=rgauthier@mozilla.com
This commit is contained in:
@@ -263,7 +263,7 @@ loop.conversation = (function(OT, mozL10n) {
|
||||
*/
|
||||
declineAndBlock: function() {
|
||||
navigator.mozLoop.stopAlerting();
|
||||
var token = navigator.mozLoop.getLoopCharPref("loopToken");
|
||||
var token = this._conversation.get("callToken");
|
||||
this._client.deleteCallUrl(token, function(error) {
|
||||
// XXX The conversation window will be closed when this cb is triggered
|
||||
// figure out if there is a better way to report the error to the user
|
||||
|
||||
Reference in New Issue
Block a user