diff mod_mam/mod_mam.lua @ 620:648e75c9d3e7

mod_mam: Add missing up()
author Kim Alvefur <zash@zash.se>
date Tue, 28 Feb 2012 14:36:41 +0100
parents cade7dac6159
children 7bdd02056e2b
line wrap: on
line diff
--- a/mod_mam/mod_mam.lua	Tue Feb 28 14:36:05 2012 +0100
+++ b/mod_mam/mod_mam.lua	Tue Feb 28 14:36:41 2012 +0100
@@ -224,7 +224,7 @@
 
 		-- Stamp "We archived this" on the message
 		local id = uuid();
-		stanza:tag("archived", { xmlns = xmlns_mam, by = host, id = id });
+		stanza:tag("archived", { xmlns = xmlns_mam, by = host, id = id }):up();
 
 		local when = time_now();
 		-- And stash it