From 2e041e2984fa303034a9736918631935c52ac03a Mon Sep 17 00:00:00 2001 From: fiaxh Date: Fri, 5 Jan 2018 18:25:25 +0100 Subject: Tab completion: Case insensitive, handle spaces --- xmpp-vala/src/core/xmpp_stream.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmpp-vala') diff --git a/xmpp-vala/src/core/xmpp_stream.vala b/xmpp-vala/src/core/xmpp_stream.vala index 6d4b9c64..6c364e80 100644 --- a/xmpp-vala/src/core/xmpp_stream.vala +++ b/xmpp-vala/src/core/xmpp_stream.vala @@ -59,7 +59,7 @@ public class XmppStream { if (best_provider != null) { stream = yield best_provider.connect(this); } - if (stream != null) { + if (stream == null) { stream = yield (new SocketClient()).connect_async(new NetworkService("xmpp-client", "tcp", this.remote_name)); } if (stream == null) { -- cgit v1.2.3-54-g00ecf