Changeset

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
parents 8249:cc664a3917e2
children 8251:cb2d86f4b511
files plugins/mod_mam/mod_mam.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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