diff options
author | Kim Alvefur <zash@zash.se> | 2014-09-28 02:48:29 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2014-09-28 02:48:29 +0200 |
commit | 3f3816afda3c521f31dd54f24e4191d49bb72a1f (patch) | |
tree | 5b0cffa8f5a58a4e3217161ff7c19f407fab7158 | |
parent | c9fece7b7edaa98b186e3e9c2d883935d3855ef9 (diff) | |
download | prosody-3f3816afda3c521f31dd54f24e4191d49bb72a1f.tar.gz prosody-3f3816afda3c521f31dd54f24e4191d49bb72a1f.zip |
mod_pubsub: Fix retreival of node config defaults
-rw-r--r-- | plugins/mod_pubsub/pubsub.lib.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_pubsub/pubsub.lib.lua b/plugins/mod_pubsub/pubsub.lib.lua index 9d8a5c60..b74c90a7 100644 --- a/plugins/mod_pubsub/pubsub.lib.lua +++ b/plugins/mod_pubsub/pubsub.lib.lua @@ -282,8 +282,8 @@ end function handlers.get_default(origin, stanza, default, service) local reply = st.reply(stanza) :tag("pubsub", { xmlns = xmlns_pubsub_owner }) - :tag("configure", { node = node }) - :add_child(form:form(service.node_default_config)); + :tag("default") + :add_child(node_config_form:form(service.node_default_config)); return origin.send(reply); end |