view mod_component_client/README.markdown @ 4311:a6c253bc63a5

End value is index+1 as per the newest revision https://xmpp.org/extensions/xep-0372.html#revision-history-v0.4.0
author Seve Ferrer <seve@delape.net>
date Tue, 22 Dec 2020 11:18:46 +0100
parents 35ae59a8196d
children
line wrap: on
line source

Introduction
============

This module turns Prosody hosts into components of other XMPP servers.

Configuration
=============

Example configuration:

``` {.lua}
VirtualHost "component.example.com"
modules_enabled = { "component_client" }
component_client = {
    host = "localhost";
    port = 5347;
    secret = "hunter2";
}
```