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 | 53307ec5d92bec0c927ac0491ac0766c19918f80 (patch) | |
tree | 5b0cffa8f5a58a4e3217161ff7c19f407fab7158 /plugins | |
parent | 0fe59bdb3c19002506d4dcd888cd01e81aefc9b9 (diff) | |
download | prosody-53307ec5d92bec0c927ac0491ac0766c19918f80.tar.gz prosody-53307ec5d92bec0c927ac0491ac0766c19918f80.zip |
mod_pubsub: Fix retreival of node config defaults
Diffstat (limited to 'plugins')
-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 |