view mod_muc_webchat_url/README.markdown @ 4575:5b4f43b90766

mod_measure_malloc: port to most recent trunk statistics API
author Jonas Schäfer <>
date Tue, 25 May 2021 19:01:54 +0200
parents 8ee5816363b0
line wrap: on
line source

# Introduction

Many projects have a support room accessible via a web chat. This module
allows making the URL to such a web chat discoverable via the XMPP
service discovery protocol, enabling e.g. [search
engines]( to index and present these.

# Configuring

## Enabling

``` {.lua}
Component "" "muc"
modules_enabled = {

## Settings

The URL is configured using the in-band MUC room configuration protocol.

The module can optionally be configured to give all public (not
members-only, hidden or password protected) rooms gain a default value
based on a template:

``` {.lua}
muc_webchat_baseurl = "{node}"

The following variables will be subsituted with room address details:

:   The complete room address, eg ``ยท

:   The local part (before the `@`) of the room JID.

:   The domain name part of the room JID.