Annotate
mod_component_client/README.markdown @ 4524:9764d27db681
mod_post_msg: Add sendxmpp-curl
I wrote this script around the same time as this module. My local copy
has a last modification timestamp of 2011-03-29, so it's been unchanged
since then.
The original rationale was that it seemed overkill to establish an
entire XMPP session just to send a single message. Nowadays I'm quite
happy using `clix` for this kind task.
| author |
Kim Alvefur <zash@zash.se> |
| date |
Tue, 23 Mar 2021 15:24:47 +0100 |
| parent |
2323:35ae59a8196d |
| 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 ```
|