aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_bosh.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2025-02-16 13:32:59 +0000
committerMatthew Wild <mwild1@gmail.com>2025-02-16 13:32:59 +0000
commit573e9f27169c5791c81d0548149afca880395bda (patch)
treea6a649ab400937d91cd3fd95bf118aec759f13e0 /plugins/mod_bosh.lua
parent1bb0fa47bc6e6a8f95003078f34f5e64f64a58cf (diff)
downloadprosody-573e9f27169c5791c81d0548149afca880395bda.tar.gz
prosody-573e9f27169c5791c81d0548149afca880395bda.zip
mod_bosh, mod_websocket: Add soft dependency on mod_http_altconnect
Diffstat (limited to 'plugins/mod_bosh.lua')
-rw-r--r--plugins/mod_bosh.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua
index 091a7d81..fc2c92ae 100644
--- a/plugins/mod_bosh.lua
+++ b/plugins/mod_bosh.lua
@@ -557,6 +557,8 @@ function module.add_host(module)
["POST /"] = handle_POST;
};
});
+
+ module:depends("http_altconnect", true);
end
if require"prosody.core.modulemanager".get_modules_for_host("*"):contains(module.name) then