diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-02-19 11:09:28 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2016-02-19 11:09:28 +0100 |
commit | 49a3f6f281c9a01f9bdaf7f5141c46dd1c6ca2cb (patch) | |
tree | 80a8000b8394122d15e87a1fdfc3ff2e70382a9b /src/main/java/eu/siacs/conversations/parser | |
parent | ac687d6bbd08674d97a52b3548df8fe49bee48d9 (diff) |
never parse show in presences as offline
Diffstat (limited to 'src/main/java/eu/siacs/conversations/parser')
-rw-r--r-- | src/main/java/eu/siacs/conversations/parser/PresenceParser.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/parser/PresenceParser.java b/src/main/java/eu/siacs/conversations/parser/PresenceParser.java index 45c31e2b..dc02eda8 100644 --- a/src/main/java/eu/siacs/conversations/parser/PresenceParser.java +++ b/src/main/java/eu/siacs/conversations/parser/PresenceParser.java @@ -186,7 +186,7 @@ public class PresenceParser extends AbstractParser implements } int sizeBefore = contact.getPresences().size(); - final Element show = packet.findChild("show"); + final String show = packet.findChildContent("show"); final Element caps = packet.findChild("c", "http://jabber.org/protocol/caps"); final Presence presence = Presence.parse(show, caps); contact.updatePresence(resource, presence); |