Mercurial > prosody-hg
diff plugins/mod_mam/mod_mam.lua @ 8146:5c91fb62338e
Merge 0.10->trunk
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 17 May 2017 01:06:20 +0200 |
| parents | 2bda04a7b4d4 |
| children | 1dc6efcc420a |
line wrap: on
line diff
--- a/plugins/mod_mam/mod_mam.lua Wed Apr 26 11:55:27 2017 +0200 +++ b/plugins/mod_mam/mod_mam.lua Wed May 17 01:06:20 2017 +0200 @@ -123,7 +123,9 @@ end module:log("debug", "Archive query, id %s with %s from %s until %s)", - tostring(qid), qwith or "anyone", qstart or "the dawn of time", qend or "now"); + tostring(qid), qwith or "anyone", + qstart and timestamp(qstart) or "the dawn of time", + qend and timestamp(qend) or "now"); -- RSM stuff local qset = rsm.get(query); @@ -139,7 +141,7 @@ limit = qmax + 1; before = before; after = after; reverse = reverse; - total = get_total; + total = use_total; }); if not data then
