Added check for empty from on group chat packet
This commit is contained in:
parent
793671023b
commit
2bb68bcbba
|
@ -133,6 +133,9 @@ public class MessageParser extends AbstractParser implements
|
||||||
private Message parseGroupchat(MessagePacket packet, Account account) {
|
private Message parseGroupchat(MessagePacket packet, Account account) {
|
||||||
int status;
|
int status;
|
||||||
final Jid from = packet.getFrom();
|
final Jid from = packet.getFrom();
|
||||||
|
if (from == null) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
if (mXmppConnectionService.find(account.pendingConferenceLeaves,
|
if (mXmppConnectionService.find(account.pendingConferenceLeaves,
|
||||||
account, from.toBareJid()) != null) {
|
account, from.toBareJid()) != null) {
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in New Issue