fixed rare npe
This commit is contained in:
parent
e79a34b651
commit
0ec1c022b9
|
@ -174,6 +174,9 @@ public class MessageParser extends AbstractParser implements
|
||||||
} else {
|
} else {
|
||||||
fullJid = message.getAttribute("to");
|
fullJid = message.getAttribute("to");
|
||||||
}
|
}
|
||||||
|
if (fullJid==null) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
String[] parts = fullJid.split("/");
|
String[] parts = fullJid.split("/");
|
||||||
Conversation conversation = mXmppConnectionService
|
Conversation conversation = mXmppConnectionService
|
||||||
.findOrCreateConversation(account, parts[0], false);
|
.findOrCreateConversation(account, parts[0], false);
|
||||||
|
|
Loading…
Reference in New Issue