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
commit32a12191888eb70359daf93289e0ec335aada6fd (patch)
treececd1cfb06e77186f002257cebcac27f2a5e09a3 /plugins
parentd578e7d08f61171dfe97635ddcc4a119663313b9 (diff)
downloadprosody-32a12191888eb70359daf93289e0ec335aada6fd.tar.gz
prosody-32a12191888eb70359daf93289e0ec335aada6fd.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