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
commitc885ad2cc4b36e61bdc05a0a35bf3918d3809a48 (patch)
treececd1cfb06e77186f002257cebcac27f2a5e09a3 /plugins
parentba6413cac8786186b1487a15058cf105da0b92c5 (diff)
downloadprosody-c885ad2cc4b36e61bdc05a0a35bf3918d3809a48.tar.gz
prosody-c885ad2cc4b36e61bdc05a0a35bf3918d3809a48.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