mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 782489 - Use system messages to notify incoming sms events. r=philikon, sr=sicking
This commit is contained in:
parent
031bc21605
commit
6f6f25f1de
@ -1002,6 +1002,14 @@ RadioInterfaceLayer.prototype = {
|
||||
message.timestamp,
|
||||
false);
|
||||
|
||||
gSystemMessenger.broadcastMessage("sms-received",
|
||||
{id: id,
|
||||
delivery: DOM_SMS_DELIVERY_RECEIVED,
|
||||
sender: message.sender || null,
|
||||
receiver: message.receiver || null,
|
||||
body: message.fullBody || null,
|
||||
timestamp: message.timestamp,
|
||||
read: false});
|
||||
Services.obs.notifyObservers(sms, kSmsReceivedObserverTopic, null);
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user