From 50f97ccbf3f672ecd6d37cab3fa8c59ead9d1631 Mon Sep 17 00:00:00 2001 From: Miquel Lionel Date: Sun, 15 Sep 2024 17:54:59 +0200 Subject: Enable setting your own presence - added 1 new icon for xa (extended away/unavailable) --- xmpp-vala/src/module/presence/stanza.vala | 1 + 1 file changed, 1 insertion(+) (limited to 'xmpp-vala/src/module') 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; -- cgit v1.2.3-70-g09d2