aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_bosh.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2025-02-22 21:49:59 +0100
committerKim Alvefur <zash@zash.se>2025-02-22 21:49:59 +0100
commit70ee43995c0e68306c8cdf867fc871edf637e82c (patch)
tree08af9e145183053e338e954390d8b3854e6ec30f /plugins/mod_bosh.lua
parent4537e07daa1c6f663375e8ec0b2ae44e84ecd4de (diff)
parente52cc0126df37947718c18b590b682943ec6da16 (diff)
downloadprosody-70ee43995c0e68306c8cdf867fc871edf637e82c.tar.gz
prosody-70ee43995c0e68306c8cdf867fc871edf637e82c.zip
Merge 13.0->trunk
Diffstat (limited to 'plugins/mod_bosh.lua')
-rw-r--r--plugins/mod_bosh.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua
index fc2c92ae..2d1b1922 100644
--- a/plugins/mod_bosh.lua
+++ b/plugins/mod_bosh.lua
@@ -558,7 +558,9 @@ function module.add_host(module)
};
});
- module:depends("http_altconnect", true);
+ if module.host ~= "*" then
+ module:depends("http_altconnect", true);
+ end
end
if require"prosody.core.modulemanager".get_modules_for_host("*"):contains(module.name) then