This module sends a message to visitors of a room, prompting them to accept or reject it.
They get kicked if they reject it, and become members if they accept it.
"rooms.example.org" "muc"
Component = {
modules_enabled "muc_require_tos";
}
= "Please read and accept the TOS of this service: https://lurk.org/TOS.txt"
tos_welcome_message = "Thanks, and welcome here!"
tos_yes_message = "Too bad." tos_no_message
trunk | Works |
With the plugin installer in Prosody 0.12 you can use:
sudo prosodyctl install --server=https://modules.prosody.im/rocks/ mod_muc_require_tos
For earlier versions see the documentation for installing 3rd party modules