diff options
author | fiaxh <git@lightrise.org> | 2019-11-18 22:45:18 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2019-11-18 22:45:18 +0100 |
commit | 41ada4fcc8991ecacd390d92f8ff7829f4e649ff (patch) | |
tree | 7d95fc29b829b3622dd931090dc7d9df98ef47c5 /xmpp-vala | |
parent | fcce176b91f5136aac745cc3ab66afa632de8180 (diff) | |
download | dino-41ada4fcc8991ecacd390d92f8ff7829f4e649ff.tar.gz dino-41ada4fcc8991ecacd390d92f8ff7829f4e649ff.zip |
Don't attempt DNS SRV lookups in connection fallback
Diffstat (limited to 'xmpp-vala')
-rw-r--r-- | xmpp-vala/src/core/xmpp_stream.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpp-vala/src/core/xmpp_stream.vala b/xmpp-vala/src/core/xmpp_stream.vala index 4bf6e0db..44ecabb4 100644 --- a/xmpp-vala/src/core/xmpp_stream.vala +++ b/xmpp-vala/src/core/xmpp_stream.vala @@ -61,7 +61,7 @@ public class XmppStream { } if (stream == null) { debug("Connecting to %s, xmpp-client, tcp (fallback)", this.remote_name.to_string()); - stream = yield (new SocketClient()).connect_async(new NetworkService("xmpp-client", "tcp", this.remote_name.to_string())); + stream = yield (new SocketClient()).connect_to_host_async(this.remote_name.to_string(), 5222); } if (stream == null) { throw new IOStreamError.CONNECT("client.connect() returned null"); |