diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_pubsub/pubsub.lib.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pubsub/pubsub.lib.lua b/plugins/mod_pubsub/pubsub.lib.lua index 45c6933f..37fbc902 100644 --- a/plugins/mod_pubsub/pubsub.lib.lua +++ b/plugins/mod_pubsub/pubsub.lib.lua @@ -318,7 +318,7 @@ function handlers.get_default(origin, stanza, default, service) end local function create_encapsulating_item(id, payload, publisher, expose_publisher) - local item = st.stanza("item", { id = id }, xmlns_pubsub); + local item = st.stanza("item", { id = id, xmlns = xmlns_pubsub }); item:add_child(payload); if expose_publisher then item.attr.publisher = publisher; |