diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2014-11-14 21:01:21 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2014-11-14 21:01:21 +0100 |
commit | c61120bfc416676147998a435674bf1ac1587359 (patch) | |
tree | 9779ae093a66de85922d2caf0dd0fd560f47eeea /src | |
parent | 793671023bd2d05e56ebb5de7ae8a49db7364ffb (diff) | |
parent | 2bb68bcbba315aab90b85656c2b08b822a4fa296 (diff) |
Merge pull request #664 from squidpickles/development
Added check for empty from on group chat packet
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/eu/siacs/conversations/parser/MessageParser.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/parser/MessageParser.java b/src/main/java/eu/siacs/conversations/parser/MessageParser.java index 6defd91c..bc2db87f 100644 --- a/src/main/java/eu/siacs/conversations/parser/MessageParser.java +++ b/src/main/java/eu/siacs/conversations/parser/MessageParser.java @@ -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; |