diff options
author | Kim Alvefur <zash@zash.se> | 2017-04-26 12:05:06 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-04-26 12:05:06 +0200 |
commit | 58ce210544fab1020fe8761f472e93f8846ffe64 (patch) | |
tree | 87c11f4f6135408f25be0f0dd6aef4a34c04857d | |
parent | e22bd6c0ef728c5e72f340c4ebb2e31f3986fd43 (diff) | |
download | prosody-58ce210544fab1020fe8761f472e93f8846ffe64.tar.gz prosody-58ce210544fab1020fe8761f472e93f8846ffe64.zip |
mod_pubsub: Pass xmlns correctly
-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; |