diff options
Diffstat (limited to 'xmpp-vala/src')
-rw-r--r-- | xmpp-vala/src/module/message/module.vala | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xmpp-vala/src/module/message/module.vala b/xmpp-vala/src/module/message/module.vala index 2ca06dc4..afa3f005 100644 --- a/xmpp-vala/src/module/message/module.vala +++ b/xmpp-vala/src/module/message/module.vala @@ -15,8 +15,9 @@ namespace Xmpp.Message { public signal void received_message(XmppStream stream, Message.Stanza message); public void send_message(XmppStream stream, Message.Stanza message) { - send_pipeline.run.begin(stream, message); - stream.write(message.stanza); + send_pipeline.run.begin(stream, message, (obj, res) => { + stream.write(message.stanza); + }); } public async void received_message_stanza_async(XmppStream stream, StanzaNode node) { |