# HG changeset patch # User Kim Alvefur # Date 1411865309 -7200 # Node ID 8c2dc2ac5a402d89a87f74d53cac1889ebd819b8 # Parent 011ca9b8817932c97064b618350bc36796b4c3ed mod_pubsub: Fix retreival of node config defaults diff -r 011ca9b88179 -r 8c2dc2ac5a40 plugins/mod_pubsub/pubsub.lib.lua --- a/plugins/mod_pubsub/pubsub.lib.lua Sun Sep 28 02:47:54 2014 +0200 +++ b/plugins/mod_pubsub/pubsub.lib.lua Sun Sep 28 02:48:29 2014 +0200 @@ -282,8 +282,8 @@ 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