diff options
author | fiaxh <git@lightrise.org> | 2021-04-11 15:24:21 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2021-04-11 15:25:43 +0200 |
commit | 1b92a1f774e2e3692f2b202f1245a2afe6528b32 (patch) | |
tree | 2e4afc401cf516cbca065573c3d3cefe785665ad /xmpp-vala | |
parent | aeeda76c9252ab03c1b91c879e6d890801b0ba2e (diff) | |
download | dino-1b92a1f774e2e3692f2b202f1245a2afe6528b32.tar.gz dino-1b92a1f774e2e3692f2b202f1245a2afe6528b32.zip |
Fix processing of XEP-0184 delivery receipts
Diffstat (limited to 'xmpp-vala')
-rw-r--r-- | xmpp-vala/src/module/xep/0184_message_delivery_receipts.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmpp-vala/src/module/xep/0184_message_delivery_receipts.vala b/xmpp-vala/src/module/xep/0184_message_delivery_receipts.vala index 7f4f8a03..cee09f22 100644 --- a/xmpp-vala/src/module/xep/0184_message_delivery_receipts.vala +++ b/xmpp-vala/src/module/xep/0184_message_delivery_receipts.vala @@ -4,7 +4,7 @@ namespace Xmpp.Xep.MessageDeliveryReceipts { public class Module : XmppStreamModule { public static ModuleIdentity<Module> IDENTITY = new ModuleIdentity<Module>(NS_URI, "0184_message_delivery_receipts"); - public signal void receipt_received(XmppStream stream, Jid jid, string id); + public signal void receipt_received(XmppStream stream, Jid jid, string id, MessageStanza stanza); private SendPipelineListener send_pipeline_listener = new SendPipelineListener(); @@ -37,7 +37,7 @@ namespace Xmpp.Xep.MessageDeliveryReceipts { private void received_message(XmppStream stream, MessageStanza message) { StanzaNode? received_node = message.stanza.get_subnode("received", NS_URI); if (received_node != null) { - receipt_received(stream, message.from, received_node.get_attribute("id", NS_URI)); + receipt_received(stream, message.from, received_node.get_attribute("id", NS_URI), message); } } } |