mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 911026 - Fix the wrong argument pass through setMessageDeliveryByMessageId after enabling "Delivery reports". r=vyang
This commit is contained in:
parent
09491e927a
commit
662669be60
@ -3129,11 +3129,11 @@ RadioInterface.prototype = {
|
||||
.setMessageDeliveryByMessageId(context.sms.id,
|
||||
null,
|
||||
context.sms.delivery,
|
||||
message.deliveryStatus,
|
||||
response.deliveryStatus,
|
||||
null,
|
||||
function notifyResult(rv, domMessage) {
|
||||
// TODO bug 832140 handle !Components.isSuccessCode(rv)
|
||||
let topic = (message.deliveryStatus == RIL.GECKO_SMS_DELIVERY_STATUS_SUCCESS)
|
||||
let topic = (response.deliveryStatus == RIL.GECKO_SMS_DELIVERY_STATUS_SUCCESS)
|
||||
? kSmsDeliverySuccessObserverTopic
|
||||
: kSmsDeliveryErrorObserverTopic;
|
||||
Services.obs.notifyObservers(domMessage, topic, null);
|
||||
|
Loading…
Reference in New Issue
Block a user