Skip to content
Snippets Groups Projects
Commit ce07e03b authored by Dale Harvey's avatar Dale Harvey
Browse files

Bug 816416 - Send system message on sms being sent. r=vicamo

parent 94af9ca9
No related branches found
No related tags found
No related merge requests found
......@@ -1417,6 +1417,17 @@ RadioInterfaceLayer.prototype = {
timestamp,
true);
gSystemMessenger.broadcastMessage("sms-sent",
{id: id,
delivery: DOM_SMS_DELIVERY_SENT,
deliveryStatus: RIL.GECKO_SMS_DELIVERY_STATUS_PENDING,
sender: message.sender || null,
receiver: options.number,
body: options.fullBody,
messageClass: messageClass,
timestamp: timestamp,
read: true});
if (!options.requestStatusReport) {
// No more used if STATUS-REPORT not requested.
delete this._sentSmsEnvelopes[message.envelopeId];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment