aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2024-09-15 17:54:59 +0200
committerMiquel Lionel <lionel@les-miquelots.net>2024-09-22 14:20:06 +0200
commit50f97ccbf3f672ecd6d37cab3fa8c59ead9d1631 (patch)
tree5ee948c2b5b8931aacf04d578aba9c89bb8af697 /xmpp-vala
parent65404b24424b2c554c611b24e9ddf7e12ce1a9f4 (diff)
downloaddino-set-presence.tar.gz
dino-set-presence.zip
Enable setting your own presenceset-presence
- added 1 new icon for xa (extended away/unavailable)
Diffstat (limited to 'xmpp-vala')
-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;