fixed rare npe

This commit is contained in:
iNPUTmice 2014-07-16 12:42:44 +02:00
parent e79a34b651
commit 0ec1c022b9

View File

@ -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);