Software /
code /
prosody-modules
Changeset
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 |
parents | 742:da8f561d79b4 |
children | 744:ab988e98a9f9 |
files | mod_carbons/mod_carbons.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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 })