aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/de/pixart/messenger/utils/XmppUri.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/utils/XmppUri.java b/src/main/java/de/pixart/messenger/utils/XmppUri.java
index 24f1efafe..f16ee58ad 100644
--- a/src/main/java/de/pixart/messenger/utils/XmppUri.java
+++ b/src/main/java/de/pixart/messenger/utils/XmppUri.java
@@ -77,7 +77,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;