aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src
diff options
context:
space:
mode:
Diffstat (limited to 'xmpp-vala/src')
-rw-r--r--xmpp-vala/src/module/presence/stanza.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmpp-vala/src/module/presence/stanza.vala b/xmpp-vala/src/module/presence/stanza.vala
index 78ec97e4..75802ceb 100644
--- a/xmpp-vala/src/module/presence/stanza.vala
+++ b/xmpp-vala/src/module/presence/stanza.vala
@@ -67,6 +67,7 @@ public class Stanza : Xmpp.Stanza {
StanzaNode? show_node = stanza.get_subnode(NODE_SHOW);
if (show_node == null) {
show_node = new StanzaNode.build(NODE_SHOW);
+ show_node.put_node(new StanzaNode.text(value));
stanza.put_node(show_node);
}
show_node.val = value;