Diff

util/startup.lua @ 13424:0efb53a0852e

util.startup: Expose core.features.available as prosody.features for convenience.
author Matthew Wild <mwild1@gmail.com>
date Thu, 22 Feb 2024 09:53:02 +0000
parent 13342:d0a9b631a937
child 13452:69faf3552d52
line wrap: on
line diff
--- a/util/startup.lua	Wed Feb 21 21:29:16 2024 +0100
+++ b/util/startup.lua	Thu Feb 22 09:53:02 2024 +0000
@@ -392,6 +392,8 @@
 
 	require "prosody.util.stanza"
 	require "prosody.util.jid"
+
+	prosody.features = require "prosody.core.features".available;
 end
 
 function startup.init_http_client()