Software /
code /
prosody-modules
Diff
mod_carbons/mod_carbons.lua @ 743:5f7dd5336dbe
mod_carbons: Unconditionally set namespace of forwarded message.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 16 Jul 2012 22:30:43 +0200 |
parent | 664:2f11d2473afd |
child | 804:9927d88a1b2a |
line wrap: on
line diff
--- a/mod_carbons/mod_carbons.lua Fri Jul 13 14:07:30 2012 +0200 +++ b/mod_carbons/mod_carbons.lua Mon Jul 16 22:30:43 2012 +0200 @@ -81,7 +81,7 @@ end local msg = st.clone(stanza); - msg.attr.xmlns = msg.attr.xmlns or "jabber:client"; + msg.attr.xmlns = "jabber:client"; local fwd = st.message{ from = bare_jid, type = orig_type, } :tag(c2s and "sent" or "received", { xmlns = xmlns_carbons }):up() :tag("forwarded", { xmlns = xmlns_forward })