Added check for empty from on group chat packet

This commit is contained in:
Kevin Rauwolf 2014-11-14 11:40:43 -08:00
parent 793671023b
commit 2bb68bcbba

View file

@ -133,6 +133,9 @@ public class MessageParser extends AbstractParser implements
private Message parseGroupchat(MessagePacket packet, Account account) {
int status;
final Jid from = packet.getFrom();
if (from == null) {
return null;
}
if (mXmppConnectionService.find(account.pendingConferenceLeaves,
account, from.toBareJid()) != null) {
return null;