util.startup: Expose core.features.available as prosody.features

for convenience.
This commit is contained in:
Matthew Wild 2024-02-22 09:53:02 +00:00
parent c0a3026414
commit f62f5d71ec

View file

@ -392,6 +392,8 @@ function startup.load_secondary_libraries()
require "prosody.util.stanza"
require "prosody.util.jid"
prosody.features = require "prosody.core.features".available;
end
function startup.init_http_client()