changeset 545:77f350635f4f

mod_carbons: Update to Carbons v0.6.
author Kim Alvefur <zash@zash.se>
date Tue, 10 Jan 2012 21:17:13 +0100
parents f78a95aa23c4
children 0afe88f9bdde
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	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