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.
Component "rooms.example.net" "muc"
modules_enabled = {
"muc_webchat_url";
}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:
muc_webchat_baseurl = "https://chat.example.com/join?room={node}"The following variables will be subsituted with room address details:
{jid}room@muc.example.com·
{node}@) of the room JID.
{host}With the plugin installer in Prosody 0.12 you can use:
sudo prosodyctl install --server=https://modules.prosody.im/rocks/ mod_muc_webchat_url
For earlier versions see the documentation for installing 3rd party modules