Mercurial > prosody-modules
view mod_component_client/README.markdown @ 3097:c7f4e3987ed0
mod_slack_webhooks: Fix error handling for JSON parsing
util.json follows the return nil,errmsg pattern, it does not throw hard
error as this code seemed to expect
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 03 Jun 2018 01:34:23 +0200 |
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"; } ```