mod_carbons: Update to Carbons v0.6.
authorKim Alvefur <zash@zash.se>
Tue, 10 Jan 2012 21:17:13 +0100
changeset 545 77f350635f4f
parent 544 f78a95aa23c4
child 546 0afe88f9bdde
mod_carbons: Update to Carbons v0.6.
mod_carbons/mod_carbons.lua
--- a/mod_carbons/mod_carbons.lua	Tue Jan 10 19:57:06 2012 +0000
+++ b/mod_carbons/mod_carbons.lua	Tue Jan 10 21:17:13 2012 +0100
@@ -83,8 +83,8 @@
 								to = full_jid,
 								type = orig_type,
 							}
+						:tag(c2s and "sent" or "received", { xmlns = xmlns_carbons }):up()
 						:tag("forwarded", { xmlns = xmlns_forward })
-							:tag(c2s and "sent" or "received", { xmlns = xmlns_carbons }):up()
 							:add_child(msg);
 					core_post_stanza(origin, fwd);
 				end