From 665c5da8aeeb88f4586839b651d8096d629f97cb Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Fri, 8 Dec 2017 18:44:08 +0100 Subject: [PATCH] fix xmpp uri regression --- src/main/java/eu/siacs/conversations/utils/XmppUri.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/utils/XmppUri.java b/src/main/java/eu/siacs/conversations/utils/XmppUri.java index 0f400aa09..c20c9a4ac 100644 --- a/src/main/java/eu/siacs/conversations/utils/XmppUri.java +++ b/src/main/java/eu/siacs/conversations/utils/XmppUri.java @@ -72,7 +72,7 @@ public class XmppUri { jid = uri.getAuthority(); } else { String[] parts = uri.getSchemeSpecificPart().split("\\?"); - if (parts.length > 1) { + if (parts.length > 0) { jid = parts[0]; } else { return;