Software /
code /
prosody
Comparison
plugins/mod_mam/mod_mam.lua @ 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 |
parent | 10072:128142990b2b |
child | 10074:a1081443666c |
comparison
equal
deleted
inserted
replaced
10072:128142990b2b | 10073:9137c9ce8b52 |
---|---|
118 qstart, qend = vstart, vend; | 118 qstart, qend = vstart, vend; |
119 end | 119 end |
120 | 120 |
121 module:log("debug", "Archive query by %s id=%s with=%s when=%s...%s", | 121 module:log("debug", "Archive query by %s id=%s with=%s when=%s...%s", |
122 origin.username, | 122 origin.username, |
123 qid or "-", | 123 qid or stanza.attr.id, |
124 qwith or "*", | 124 qwith or "*", |
125 qstart and timestamp(qstart) or "", | 125 qstart and timestamp(qstart) or "", |
126 qend and timestamp(qend) or ""); | 126 qend and timestamp(qend) or ""); |
127 | 127 |
128 -- RSM stuff | 128 -- RSM stuff |