# HG changeset patch # User Kim Alvefur # Date 1674318285 -3600 # Node ID 57e86d537ffe7185fc71d4c678881be132816529 # Parent 38b3cd292ee58cb22ed727da5ac6ba01651ef18b mod_muc_mam: Use higher precision timestamps See also 781772c8b6d9 diff -r 38b3cd292ee5 -r 57e86d537ffe plugins/mod_muc_mam.lua --- 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);