aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-09-18 18:35:01 +0200
committerKim Alvefur <zash@zash.se>2017-09-18 18:35:01 +0200
commit6a665c5a76c145df4c5545018d1928a6ea84cbc5 (patch)
treececd1cfb06e77186f002257cebcac27f2a5e09a3 /plugins
parent21a8486ac52a4ff2b91435eba19c7067277528dc (diff)
downloadprosody-6a665c5a76c145df4c5545018d1928a6ea84cbc5.tar.gz
prosody-6a665c5a76c145df4c5545018d1928a6ea84cbc5.zip
mod_mam: Log a message when not archiving because it only had ignored tags
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_mam/mod_mam.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_mam/mod_mam.lua b/plugins/mod_mam/mod_mam.lua
index 298c770c..6134fc66 100644
--- a/plugins/mod_mam/mod_mam.lua
+++ b/plugins/mod_mam/mod_mam.lua
@@ -294,6 +294,7 @@ local function message_handler(event, c2s)
end
end);
if #clone_for_storage.tags == 0 then
+ log("debug", "Not archiving stanza: %s (empty when stripped)", stanza:top_tag());
return;
end
else