From f62f5d71ec864b3863bc4228dc2390c4037f460a Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 22 Feb 2024 09:53:02 +0000 Subject: util.startup: Expose core.features.available as prosody.features for convenience. --- util/startup.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util') diff --git a/util/startup.lua b/util/startup.lua index 0066fb8c..ba2a7cf6 100644 --- a/util/startup.lua +++ b/util/startup.lua @@ -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() -- cgit v1.2.3