aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2014-09-28 02:48:29 +0200
committerKim Alvefur <zash@zash.se>2014-09-28 02:48:29 +0200
commit53307ec5d92bec0c927ac0491ac0766c19918f80 (patch)
tree5b0cffa8f5a58a4e3217161ff7c19f407fab7158 /plugins/mod_pubsub
parent0fe59bdb3c19002506d4dcd888cd01e81aefc9b9 (diff)
downloadprosody-53307ec5d92bec0c927ac0491ac0766c19918f80.tar.gz
prosody-53307ec5d92bec0c927ac0491ac0766c19918f80.zip
mod_pubsub: Fix retreival of node config defaults
Diffstat (limited to 'plugins/mod_pubsub')
-rw-r--r--plugins/mod_pubsub/pubsub.lib.lua4
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