diff options
-rw-r--r-- | src/main/java/de/pixart/messenger/utils/XmppUri.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/utils/XmppUri.java b/src/main/java/de/pixart/messenger/utils/XmppUri.java index fec5ff039..9ab3f1769 100644 --- a/src/main/java/de/pixart/messenger/utils/XmppUri.java +++ b/src/main/java/de/pixart/messenger/utils/XmppUri.java @@ -189,6 +189,9 @@ public class XmppUri { } public boolean isJidValid() { + if (jid == null) { + return false; + } try { Jid.of(jid); return true; |