author | Kim Alvefur <zash@zash.se> |
Sun, 28 Oct 2018 19:01:12 +0100 | |
changeset 3368 | 264eab9d501c |
parent 3367 | 2681f74750b2 |
child 3369 | a5a5f85d7ca1 |
--- a/mod_mam_muc/mod_mam_muc.lua Fri Oct 26 20:07:16 2018 +0200 +++ b/mod_mam_muc/mod_mam_muc.lua Sun Oct 28 19:01:12 2018 +0100 @@ -407,7 +407,11 @@ end -- Policy check - if not archiving_enabled(self) then return end -- Don't log + if not archiving_enabled(self) then -- Don't log + module:log("debug", "Not archiving %s", stanza:top_tag()); + return; + end + module:log("debug", "Archiving %s", stanza:top_tag()); -- And stash it local with = stanza.name