Software /
code /
prosody
Changeset
10078:44371850c6b0
mod_mam: Move final log message to end of query procedure
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 11 Jul 2019 23:29:59 +0200 |
parents | 10077:c0702a1534cb |
children | 10079:a36c731ed540 |
files | plugins/mod_mam/mod_mam.lua |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_mam/mod_mam.lua Thu Jul 11 23:27:45 2019 +0200 +++ b/plugins/mod_mam/mod_mam.lua Thu Jul 11 23:29:59 2019 +0200 @@ -200,13 +200,13 @@ first, last = last, first; end - -- That's all folks! - module:log("debug", "Archive query id=%s completed, %d items returned", qid or stanza.attr.id, #results); - origin.send(st.reply(stanza) :tag("fin", { xmlns = xmlns_mam, queryid = qid, complete = complete }) :add_child(rsm.generate { first = first, last = last, count = total })); + + -- That's all folks! + module:log("debug", "Archive query id=%s completed, %d items returned", qid or stanza.attr.id, #results); return true; end);