fix xmpp uri regression

This commit is contained in:
Christian Schneppe 2017-12-16 22:18:01 +01:00
parent 5326111db1
commit 3ac4a7c3ec

View file

@ -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;