aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module/message/module.vala
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2017-11-17 16:06:54 +0100
committerfiaxh <git@mx.ax.lt>2017-11-17 17:24:03 +0100
commit2a514d0969f5c25d5e2d14421125a47df6b14974 (patch)
treefd95c1ee569b2e30dd3c7311b6fa32c7e46a50d0 /xmpp-vala/src/module/message/module.vala
parent48cd057bd569efdaf8f8a759365fa9079b732159 (diff)
downloaddino-2a514d0969f5c25d5e2d14421125a47df6b14974.tar.gz
dino-2a514d0969f5c25d5e2d14421125a47df6b14974.zip
Fix unit tests using async + read message marker
Diffstat (limited to 'xmpp-vala/src/module/message/module.vala')
-rw-r--r--xmpp-vala/src/module/message/module.vala5
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) {