diff options
author | Kim Alvefur <zash@zash.se> | 2017-09-18 18:35:01 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-09-18 18:35:01 +0200 |
commit | c885ad2cc4b36e61bdc05a0a35bf3918d3809a48 (patch) | |
tree | cecd1cfb06e77186f002257cebcac27f2a5e09a3 /plugins/mod_mam/mod_mam.lua | |
parent | ba6413cac8786186b1487a15058cf105da0b92c5 (diff) | |
download | prosody-c885ad2cc4b36e61bdc05a0a35bf3918d3809a48.tar.gz prosody-c885ad2cc4b36e61bdc05a0a35bf3918d3809a48.zip |
mod_mam: Log a message when not archiving because it only had ignored tags
Diffstat (limited to 'plugins/mod_mam/mod_mam.lua')
-rw-r--r-- | plugins/mod_mam/mod_mam.lua | 1 |
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 |