Mercurial > prosody-hg
comparison plugins/mod_mam/mod_mam.lua @ 8250:9ea5ea53744b
mod_mam: Log a message when not archiving because it only had ignored tags
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Mon, 18 Sep 2017 18:35:01 +0200 |
| parents | 97a094fdf101 |
| children | 63e505578d4f |
comparison
equal
deleted
inserted
replaced
| 8249:cc664a3917e2 | 8250:9ea5ea53744b |
|---|---|
| 292 else | 292 else |
| 293 return tag; | 293 return tag; |
| 294 end | 294 end |
| 295 end); | 295 end); |
| 296 if #clone_for_storage.tags == 0 then | 296 if #clone_for_storage.tags == 0 then |
| 297 log("debug", "Not archiving stanza: %s (empty when stripped)", stanza:top_tag()); | |
| 297 return; | 298 return; |
| 298 end | 299 end |
| 299 else | 300 else |
| 300 clone_for_storage = stanza; | 301 clone_for_storage = stanza; |
| 301 end | 302 end |
