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