fixed crash in MessageAdapter caused by empty xmpp: uri

This commit is contained in:
Daniel Gultsch 2018-03-16 12:29:11 +01:00
parent d17a8cdcb9
commit 182b4c08b5
1 changed files with 3 additions and 0 deletions

View File

@ -185,6 +185,9 @@ public class XmppUri {
}
public boolean isJidValid() {
if (jid == null) {
return false;
}
try {
Jid.of(jid);
return true;