diff options
author | fiaxh <git@lightrise.org> | 2019-12-24 16:46:55 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2019-12-24 23:31:17 +0100 |
commit | bce709b794b558d0f055a3e24d0f49ed679d3ad3 (patch) | |
tree | ebdf861b87d2874356a981ff5416957796de8731 /xmpp-vala/src/module/xep/0048_conference.vala | |
parent | 2d8a1374adfa91e37a15d9e036c45c20a6c74b87 (diff) | |
download | dino-bce709b794b558d0f055a3e24d0f49ed679d3ad3.tar.gz dino-bce709b794b558d0f055a3e24d0f49ed679d3ad3.zip |
Store MUC passwords in bookmark
fixes #470
Diffstat (limited to 'xmpp-vala/src/module/xep/0048_conference.vala')
-rw-r--r-- | xmpp-vala/src/module/xep/0048_conference.vala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmpp-vala/src/module/xep/0048_conference.vala b/xmpp-vala/src/module/xep/0048_conference.vala index fdc26152..b61de1c0 100644 --- a/xmpp-vala/src/module/xep/0048_conference.vala +++ b/xmpp-vala/src/module/xep/0048_conference.vala @@ -71,9 +71,10 @@ public class Bookmarks1Conference : Conference { return; } if (password_node == null) { - password_node = new StanzaNode.build(NODE_PASSWORD); + password_node = new StanzaNode.build(NODE_PASSWORD, NS_URI); stanza_node.put_node(password_node); } + password_node.sub_nodes.clear(); password_node.put_node(new StanzaNode.text(value)); } } |