Changeset

634:061584efe82f

mod_mam: Remove archived tag, as this was dropped from the submitted spec
author Kim Alvefur <zash@zash.se>
date Thu, 19 Apr 2012 17:46:24 +0200
parents 633:0d3174d5a1cc
children 635:30be50d2537f
files mod_mam/mod_mam.lua
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mod_mam/mod_mam.lua	Wed Apr 04 00:37:42 2012 +0200
+++ b/mod_mam/mod_mam.lua	Thu Apr 19 17:46:24 2012 +0200
@@ -222,10 +222,7 @@
 	if shall_store(store_user, target_bare) then
 		module:log("debug", "Archiving stanza: %s", stanza:top_tag());
 
-		-- Stamp "We archived this" on the message
 		local id = uuid();
-		stanza:tag("archived", { xmlns = xmlns_mam, by = host, id = id }):up();
-
 		local when = time_now();
 		-- And stash it
 		dm_list_append(store_user, store_host, "archive2", {