view mod_component_client/README.markdown @ 2929:3a104a900af1

mod_register_web: Pass username to generate_register_response
author Michel Le Bihan <michel@lebihan.pl>
date Tue, 13 Mar 2018 21:12:21 +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";
}
```