mirror of
https://github.com/moparisthebest/Conversations
synced 2024-12-26 09:19:07 -05:00
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 New Issue
Block a user