prosody/core/features.lua
Kim Alvefur 3c4dc9a754 core.moduleapi: Add :get_option_period for parsing time intervals
E.g. for use in mod_mam and others that take an amount of time before
some (usually cleanup) action is taken.
2023-07-16 19:49:12 +02:00

24 lines
452 B
Lua

local set = require "prosody.util.set";
return {
available = set.new{
-- mod_bookmarks bundled
"mod_bookmarks";
-- Roles, module.may and per-session authz
"permissions";
-- prosody.* namespace
"loader";
-- "keyval+" store
"keyval+";
"s2sout-pre-connect-event";
-- prosody:guest, prosody:registered, prosody:member
"split-user-roles";
-- new moduleapi methods
"getopt-enum";
"getopt-interval";
"getopt-period";
};
};