aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/parser/PresenceParser.java
diff options
context:
space:
mode:
authorChristian S <christian@pix-art.de>2016-02-20 15:28:01 +0100
committerChristian S <christian@pix-art.de>2016-02-20 15:28:01 +0100
commitfe52f30c5bbd6f4403b1fe97964488611a3c7276 (patch)
tree562388d395f2547b85c49d8979dbab6193d08199 /src/main/java/eu/siacs/conversations/parser/PresenceParser.java
parent2879ddadca409d05eb71ca0863980ed0ec6b1023 (diff)
parent3bde4dbedb80a8e1de89c09f58d842d7382598e8 (diff)
Merge branch 'siacs/master' into development
Diffstat (limited to 'src/main/java/eu/siacs/conversations/parser/PresenceParser.java')
-rw-r--r--src/main/java/eu/siacs/conversations/parser/PresenceParser.java2
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 45c31e2b0..dc02eda8f 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);