# HG changeset patch # User Matthew Wild # Date 1717772010 -3600 # Node ID 99ecfe44910b909faa48715200f9d2a96e8f5823 # Parent d4a8644a1cc5a904973e17b76934749b8b1f671d mod_pubsub_serverinfo: Explicitly depend on mod_server_info Otherwise the pubsub node will not be advertised unless the admin explicitly loads that module, or another module that depends on it. diff -r d4a8644a1cc5 -r 99ecfe44910b mod_pubsub_serverinfo/mod_pubsub_serverinfo.lua --- a/mod_pubsub_serverinfo/mod_pubsub_serverinfo.lua Tue Jun 04 09:06:44 2024 +0200 +++ b/mod_pubsub_serverinfo/mod_pubsub_serverinfo.lua Fri Jun 07 15:53:30 2024 +0100 @@ -23,6 +23,9 @@ local xmlns_pubsub = "http://jabber.org/protocol/pubsub"; +-- Needed to publish server-info-fields +module:depends("server_info"); + function module.load() discover_node():next( function(exists)