annotate mod_component_client/README.md @ 6562:5da6fb562df9
default tip
mod_unified_push: Fix push error handling (fixes #2000)
Use the error object that send_iq() passes
as an argument to it's reject callback instead of attempting
and failing to do the parsing in the callback itself.
| author |
kmq |
| date |
Mon, 06 Jul 2026 14:23:57 +0200 |
| parents |
fe081789f7b5 |
| children |
|
| rev |
line source |
|
2323
|
1 Introduction
|
|
|
2 ============
|
|
|
3
|
|
|
4 This module turns Prosody hosts into components of other XMPP servers.
|
|
|
5
|
|
|
6 Configuration
|
|
|
7 =============
|
|
|
8
|
|
|
9 Example configuration:
|
|
|
10
|
|
|
11 ``` {.lua}
|
|
|
12 VirtualHost "component.example.com"
|
|
|
13 modules_enabled = { "component_client" }
|
|
|
14 component_client = {
|
|
|
15 host = "localhost";
|
|
|
16 port = 5347;
|
|
|
17 secret = "hunter2";
|
|
|
18 }
|
|
|
19 ```
|