Diff

plugins/mod_mam/mod_mam.lua @ 8250:9ea5ea53744b

mod_mam: Log a message when not archiving because it only had ignored tags
author Kim Alvefur <zash@zash.se>
date Mon, 18 Sep 2017 18:35:01 +0200
parent 8231:97a094fdf101
child 8252:63e505578d4f
line wrap: on
line diff
--- a/plugins/mod_mam/mod_mam.lua	Mon Sep 18 18:28:29 2017 +0200
+++ b/plugins/mod_mam/mod_mam.lua	Mon Sep 18 18:35:01 2017 +0200
@@ -294,6 +294,7 @@
 			end
 		end);
 		if #clone_for_storage.tags == 0 then
+			log("debug", "Not archiving stanza: %s (empty when stripped)", stanza:top_tag());
 			return;
 		end
 	else