view mod_component_client/README.md @ 6358:de2651ba8bae

mod_pubsub_serverinfo: Use log_status to preserve last publication result This can be retrieved with e.g. 'prosodyctl shell module info pubsub_serverinfo'
author Matthew Wild <mwild1@gmail.com>
date Wed, 14 Jan 2026 13:56:31 +0000
parents fe081789f7b5
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";
}
```