Software /
code /
prosody
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 |
parent | 8231:97a094fdf101 |
child | 8252: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 |