Mercurial > prosody-modules
changeset 3191:a1c92d62b861
mod_profile: Add xmlns on <item> in order to pass item validation in mod_pubsub
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 24 Jul 2018 16:28:02 +0200 |
parents | 76a2aca48b4f |
children | 134e73ebfa5f |
files | mod_profile/mod_profile.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_profile/mod_profile.lua Tue Jul 24 16:27:59 2018 +0200 +++ b/mod_profile/mod_profile.lua Tue Jul 24 16:28:02 2018 +0200 @@ -51,7 +51,7 @@ end local function item_container(id, payload) - return id, st.stanza("item", { id = "current" }) + return id, st.stanza("item", { id = "current", xmlns = "http://jabber.org/protocol/pubsub"; }) :add_child(payload); end