Software /
code /
prosody-modules
Comparison
mod_muc_require_tos/README.md @ 6211:750d64c47ec6 draft default tip
Merge
author | Trần H. Trung <xmpp:trần.h.trung@trung.fun> |
---|---|
date | Tue, 18 Mar 2025 00:31:36 +0700 |
parent | 6003:fe081789f7b5 |
comparison
equal
deleted
inserted
replaced
6210:24316a399978 | 6211:750d64c47ec6 |
---|---|
1 --- | |
2 labels: | |
3 - 'Stage-Alpha' | |
4 summary: Require visitors to accept something before being allowed in a room | |
5 ... | |
6 | |
7 # Introduction | |
8 | |
9 This module sends a message to visitors of a room, prompting them to accept or reject it. | |
10 | |
11 They get kicked if they reject it, and become members if they accept it. | |
12 | |
13 # Setup | |
14 | |
15 ```lua | |
16 Component "rooms.example.org" "muc" | |
17 modules_enabled = { | |
18 "muc_require_tos"; | |
19 } | |
20 tos_welcome_message = "Please read and accept the TOS of this service: https://lurk.org/TOS.txt" | |
21 tos_yes_message = "Thanks, and welcome here!" | |
22 tos_no_message = "Too bad." | |
23 ``` | |
24 | |
25 Compatibility | |
26 ============= | |
27 | |
28 ----- ----- | |
29 trunk Works | |
30 ----- ----- | |
31 |