Mercurial > prosody-hg
comparison plugins/mod_bosh.lua @ 13751:7c98981d3fe9
Merge 13.0->trunk
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 22 Feb 2025 21:49:59 +0100 |
| parents | 08c2b7accd94 |
| children | b1e9942ce471 a4327478678f |
comparison
equal
deleted
inserted
replaced
| 13748:891869c51033 | 13751:7c98981d3fe9 |
|---|---|
| 556 ["POST"] = handle_POST; | 556 ["POST"] = handle_POST; |
| 557 ["POST /"] = handle_POST; | 557 ["POST /"] = handle_POST; |
| 558 }; | 558 }; |
| 559 }); | 559 }); |
| 560 | 560 |
| 561 module:depends("http_altconnect", true); | 561 if module.host ~= "*" then |
| 562 module:depends("http_altconnect", true); | |
| 563 end | |
| 562 end | 564 end |
| 563 | 565 |
| 564 if require"prosody.core.modulemanager".get_modules_for_host("*"):contains(module.name) then | 566 if require"prosody.core.modulemanager".get_modules_for_host("*"):contains(module.name) then |
| 565 module:add_host(); | 567 module:add_host(); |
| 566 end | 568 end |
