diff options
author | Kim Alvefur <zash@zash.se> | 2023-06-18 16:48:56 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-06-18 16:48:56 +0200 |
commit | af2cf5f188a2bf62da97453f0d21e282f7f67985 (patch) | |
tree | 72d197ff9525742da98532f48a6ac0ad3b3cd261 /plugins/mod_mam/mod_mam.lua | |
parent | 597f3c7f0aa39c347dad671cf682742b4d40a914 (diff) | |
download | prosody-af2cf5f188a2bf62da97453f0d21e282f7f67985.tar.gz prosody-af2cf5f188a2bf62da97453f0d21e282f7f67985.zip |
renamening: Fix newly added imports to use the new namespace
Diffstat (limited to 'plugins/mod_mam/mod_mam.lua')
-rw-r--r-- | plugins/mod_mam/mod_mam.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_mam/mod_mam.lua b/plugins/mod_mam/mod_mam.lua index ea9de2a7..080eb283 100644 --- a/plugins/mod_mam/mod_mam.lua +++ b/plugins/mod_mam/mod_mam.lua @@ -37,7 +37,7 @@ local tostring = tostring; local time_now = require "prosody.util.time".now; local m_min = math.min; local timestamp, datestamp = import( "util.datetime", "datetime", "date"); -local parse_duration = require "util.human.io".parse_duration; +local parse_duration = require "prosody.util.human.io".parse_duration; local default_max_items, max_max_items = 20, module:get_option_number("max_archive_query_results", 50); local strip_tags = module:get_option_set("dont_archive_namespaces", { "http://jabber.org/protocol/chatstates" }); |