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 | 32a12191888eb70359daf93289e0ec335aada6fd (patch) | |
tree | cecd1cfb06e77186f002257cebcac27f2a5e09a3 | |
parent | d578e7d08f61171dfe97635ddcc4a119663313b9 (diff) | |
download | prosody-32a12191888eb70359daf93289e0ec335aada6fd.tar.gz prosody-32a12191888eb70359daf93289e0ec335aada6fd.zip |
mod_mam: Log a message when not archiving because it only had ignored tags
-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 |