diff options
author | Kim Alvefur <zash@zash.se> | 2019-07-11 23:26:02 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-07-11 23:26:02 +0200 |
commit | f16711edf5cb9b0456a457ca55d42ad6d8500019 (patch) | |
tree | e78f1522beb1bdd2953d096f25075ecf42c6a68a /plugins/mod_mam | |
parent | 355ee5ab12cb9938c969abe970dbcf247f262758 (diff) | |
download | prosody-f16711edf5cb9b0456a457ca55d42ad6d8500019.tar.gz prosody-f16711edf5cb9b0456a457ca55d42ad6d8500019.zip |
mod_mam: Use stanza id in log message as fallback if no query id
Diffstat (limited to 'plugins/mod_mam')
-rw-r--r-- | plugins/mod_mam/mod_mam.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_mam/mod_mam.lua b/plugins/mod_mam/mod_mam.lua index 0c50bd2a..cc06b617 100644 --- a/plugins/mod_mam/mod_mam.lua +++ b/plugins/mod_mam/mod_mam.lua @@ -120,7 +120,7 @@ module:hook("iq-set/self/"..xmlns_mam..":query", function(event) module:log("debug", "Archive query by %s id=%s with=%s when=%s...%s", origin.username, - qid or "-", + qid or stanza.attr.id, qwith or "*", qstart and timestamp(qstart) or "", qend and timestamp(qend) or ""); |