Software /
code /
prosody
Changeset
12861:57e86d537ffe
mod_muc_mam: Use higher precision timestamps
See also 781772c8b6d9
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 21 Jan 2023 17:24:45 +0100 |
parents | 12860:38b3cd292ee5 |
children | 12864:9f9633364044 |
files | plugins/mod_muc_mam.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_muc_mam.lua Sat Jan 21 17:18:16 2023 +0100 +++ b/plugins/mod_muc_mam.lua Sat Jan 21 17:24:45 2023 +0100 @@ -29,7 +29,7 @@ local is_stanza = st.is_stanza; local tostring = tostring; -local time_now = os.time; +local time_now = require "util.time".now; local m_min = math.min; local timestamp, datestamp = import("util.datetime", "datetime", "date"); local default_max_items, max_max_items = 20, module:get_option_number("max_archive_query_results", 50);