Diff

mod_carbons/mod_carbons.lua @ 753:9d5731af2c27

Merge with Oliver Gerlich
author Matthew Wild <mwild1@gmail.com>
date Fri, 27 Jul 2012 14:29:59 +0100
parent 743:5f7dd5336dbe
child 804:9927d88a1b2a
line wrap: on
line diff
--- a/mod_carbons/mod_carbons.lua	Mon Jun 11 22:32:45 2012 +0200
+++ b/mod_carbons/mod_carbons.lua	Fri Jul 27 14:29:59 2012 +0100
@@ -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 })