fixed crash in MessageAdapter caused by empty xmpp: uri
This commit is contained in:
parent
d17a8cdcb9
commit
182b4c08b5
|
@ -185,6 +185,9 @@ public class XmppUri {
|
|||
}
|
||||
|
||||
public boolean isJidValid() {
|
||||
if (jid == null) {
|
||||
return false;
|
||||
}
|
||||
try {
|
||||
Jid.of(jid);
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue