Software / code / prosody
Changeset
10073:9137c9ce8b52
mod_mam: Use stanza id in log message as fallback if no query id
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 11 Jul 2019 23:26:02 +0200 |
| parents | 10072:128142990b2b |
| children | 10074:a1081443666c |
| files | plugins/mod_mam/mod_mam.lua |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_mam/mod_mam.lua Thu Jul 11 23:30:58 2019 +0200 +++ b/plugins/mod_mam/mod_mam.lua Thu Jul 11 23:26:02 2019 +0200 @@ -120,7 +120,7 @@ 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 "");