# HG changeset patch # User Kim Alvefur # Date 1532442482 -7200 # Node ID a1c92d62b86164edc8147e162f85a6c818547e1f # Parent 76a2aca48b4f11319ec8f587e9af1f7dcaba6a05 mod_profile: Add xmlns on in order to pass item validation in mod_pubsub diff -r 76a2aca48b4f -r a1c92d62b861 mod_profile/mod_profile.lua --- 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