mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_muc_mam: Use higher precision timestamps
See also 781772c8b6d9
This commit is contained in:
parent
dbbde4a0f0
commit
27d63ff731
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ local get_room_from_jid = mod_muc.get_room_from_jid;
|
|||
|
||||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue