зеркало из https://github.com/mozilla/gecko-dev.git
Bug 921918 - 4.a/4: accommodate to setMessageDeliveryByEnvelopeId interface change. r=gene
This commit is contained in:
Родитель
e766d59f95
Коммит
50ef17de60
|
@ -1838,11 +1838,8 @@ MmsService.prototype = {
|
|||
|
||||
if (DEBUG) debug("Updating the delivery status to: " + deliveryStatus);
|
||||
gMobileMessageDatabaseService
|
||||
.setMessageDeliveryByEnvelopeId(envelopeId,
|
||||
address,
|
||||
null,
|
||||
deliveryStatus,
|
||||
(function notifySetDeliveryResult(aRv, aDomMessage) {
|
||||
.setMessageDeliveryStatusByEnvelopeId(envelopeId, address, deliveryStatus,
|
||||
(function(aRv, aDomMessage) {
|
||||
if (DEBUG) debug("Marking the delivery status is done.");
|
||||
// TODO bug 832140 handle !Components.isSuccessCode(aRv)
|
||||
|
||||
|
|
|
@ -2136,12 +2136,11 @@ MobileMessageDatabaseService.prototype = {
|
|||
|
||||
},
|
||||
|
||||
setMessageDeliveryByEnvelopeId: function setMessageDeliveryByEnvelopeId(
|
||||
envelopeId, receiver, delivery, deliveryStatus, callback) {
|
||||
this.updateMessageDeliveryById(envelopeId, "envelopeId",
|
||||
receiver, delivery, deliveryStatus,
|
||||
null, callback);
|
||||
|
||||
setMessageDeliveryStatusByEnvelopeId:
|
||||
function setMessageDeliveryStatusByEnvelopeId(aEnvelopeId, aReceiver,
|
||||
aDeliveryStatus, aCallback) {
|
||||
this.updateMessageDeliveryById(aEnvelopeId, "envelopeId", aReceiver, null,
|
||||
aDeliveryStatus, null, aCallback);
|
||||
},
|
||||
|
||||
getMessageRecordByTransactionId: function getMessageRecordByTransactionId(aTransactionId, aCallback) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче