Diff

plugins/mod_mam/mod_mam.lua @ 13165:9c13c11b199d

renamening: Fix newly added imports to use the new namespace
author Kim Alvefur <zash@zash.se>
date Sun, 18 Jun 2023 16:48:56 +0200
parent 13055:e732f9dfdfc8
child 13209:c8d949cf6b09
line wrap: on
line diff
--- a/plugins/mod_mam/mod_mam.lua	Sat Jun 17 17:19:40 2023 +0200
+++ b/plugins/mod_mam/mod_mam.lua	Sun Jun 18 16:48:56 2023 +0200
@@ -37,7 +37,7 @@
 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" });