# HG changeset patch # User Goffi # Date 1430757797 -7200 # Node ID c48c7f948cfb50d026685b28887a6ddf0858b2d0 # Parent f49359330493ef7080f0dae5dd9404bf34fa48fa mod_delegation: fixed namespace of child element, as specified in XEP-0297 diff -r f49359330493 -r c48c7f948cfb mod_delegation/mod_delegation.lua --- a/mod_delegation/mod_delegation.lua Sun May 03 17:50:16 2015 +0200 +++ b/mod_delegation/mod_delegation.lua Mon May 04 18:43:17 2015 +0200 @@ -222,6 +222,7 @@ local function forward_iq(stanza, ns_data) local to_jid = ns_data.connected + stanza.attr.xmlns = 'jabber:client' local iq_stanza = st.iq({ from=module.host, to=to_jid, type="set" }) :tag("delegation", { xmlns=_DELEGATION_NS }) :tag("forwarded", { xmlns=_FORWARDED_NS })