Changeset

896:d24d87ca3f5f

mod_carbons: <forwarded/> should be nested in <sent/>/<received/>
author Florian Zeitz <florob@babelmonkeys.de>
date Wed, 16 Jan 2013 02:27:49 +0100
parents 895:1f4d77104da5
children 897:844b6ef5d4c4
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	Sat Jan 12 17:33:52 2013 +0100
+++ b/mod_carbons/mod_carbons.lua	Wed Jan 16 02:27:49 2013 +0100
@@ -90,7 +90,7 @@
 	local copy = st.clone(stanza);
 	copy.attr.xmlns = "jabber:client";
 	local carbon = st.message{ from = bare_jid, type = orig_type, }
-		:tag(c2s and "sent" or "received", { xmlns = xmlns_carbons }):up()
+		:tag(c2s and "sent" or "received", { xmlns = xmlns_carbons })
 			:tag("forwarded", { xmlns = xmlns_forward })
 				:add_child(copy):reset();