diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2014-03-14 18:56:52 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2014-03-14 18:56:52 +0100 |
commit | 4e20b81bd9a7e91c8570328e7390726d07aecff2 (patch) | |
tree | 5a091100385dc5fdb67eb71dd084dc7d30bed0bb /src/eu/siacs/conversations/services/XmppConnectionService.java | |
parent | 71cb5548eb453be94ea62e6e2b87d654287c2d29 (diff) |
fixed problem with null messages. added ask again button
Diffstat (limited to 'src/eu/siacs/conversations/services/XmppConnectionService.java')
-rw-r--r-- | src/eu/siacs/conversations/services/XmppConnectionService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java index bd23c056..6b025d99 100644 --- a/src/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/eu/siacs/conversations/services/XmppConnectionService.java @@ -150,7 +150,7 @@ public class XmppConnectionService extends Service { } else { // Log.d(LOGTAG, "unparsed message " + packet.toString()); } - if (message == null) { + if ((message == null)||(message.getBody() == null)) { return; } if (packet.hasChild("delay")) { |