Software /
code /
prosody-modules
Diff
mod_invites_page/mod_invites_page.lua @ 5676:62c6e17a5e9d
Merge
author | Stephen Paul Weber <singpolyma@singpolyma.net> |
---|---|
date | Mon, 18 Sep 2023 08:24:19 -0500 |
parent | 5630:efdaffc878a9 |
child | 5662:ebc09159b94a |
line wrap: on
line diff
--- a/mod_invites_page/mod_invites_page.lua Mon Sep 18 08:22:07 2023 -0500 +++ b/mod_invites_page/mod_invites_page.lua Mon Sep 18 08:24:19 2023 -0500 @@ -39,6 +39,9 @@ else http_files = module:depends"http_files"; end + elseif prosody.process_type and module.get_option_period then + module:depends("http"); + http_files = require "net.http.files"; end -- Calculate automatic base_url default base_url = module.http_url and module:http_url();