diff options
author | fiaxh <git@lightrise.org> | 2020-04-24 14:19:42 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2020-04-24 14:19:42 +0200 |
commit | f8f305efe551838c780dce4224c06bed695d8a62 (patch) | |
tree | 1e5b9f6988d0bb911a53d3234eba464873e6984b /libdino | |
parent | 1db94905ae7af1c1aed475a090dfb09e59fb2520 (diff) | |
download | dino-f8f305efe551838c780dce4224c06bed695d8a62.tar.gz dino-f8f305efe551838c780dce4224c06bed695d8a62.zip |
xmpp-vala: Use more async
Diffstat (limited to 'libdino')
-rw-r--r-- | libdino/src/service/connection_manager.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdino/src/service/connection_manager.vala b/libdino/src/service/connection_manager.vala index 000a4bfa..cd5f7384 100644 --- a/libdino/src/service/connection_manager.vala +++ b/libdino/src/service/connection_manager.vala @@ -223,7 +223,7 @@ public class ConnectionManager : Object { DateTime? last_activity_was = connections[account].last_activity; XmppStream stream = connections[account].stream; - stream.get_module(Xep.Ping.Module.IDENTITY).send_ping(stream, account.bare_jid.domain_jid, () => { + stream.get_module(Xep.Ping.Module.IDENTITY).send_ping.begin(stream, account.bare_jid.domain_jid, () => { acked = true; if (connections[account].stream != stream) return; change_connection_state(account, ConnectionState.CONNECTED); |