diff plugins/mod_bosh.lua @ 13720:c3c4281c1339 13.0

mod_bosh, mod_websocket: Add soft dependency on mod_http_altconnect
author Matthew Wild <mwild1@gmail.com>
date Sun, 16 Feb 2025 13:32:59 +0000
parents a688947fab1e
children 08c2b7accd94
line wrap: on
line diff
--- a/plugins/mod_bosh.lua	Sun Feb 16 13:29:07 2025 +0000
+++ b/plugins/mod_bosh.lua	Sun Feb 16 13:32:59 2025 +0000
@@ -557,6 +557,8 @@
 			["POST /"] = handle_POST;
 		};
 	});
+
+	module:depends("http_altconnect", true);
 end
 
 if require"prosody.core.modulemanager".get_modules_for_host("*"):contains(module.name) then