Software / code / prosody-modules
Comparison
mod_muc_block_pm/README.markdown @ 2588:69d3e0037435
mod_muc_block_pm: Prevent unaffiliated users from sending private messages in MUC
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 28 Feb 2017 17:04:30 +0100 |
| child | 3636:afedc2430b0d |
comparison
equal
deleted
inserted
replaced
| 2587:8c879948a2cf | 2588:69d3e0037435 |
|---|---|
| 1 --- | |
| 2 summary: Prevent unaffiliated MUC participants from sending PMs | |
| 3 --- | |
| 4 | |
| 5 # Introduction | |
| 6 | |
| 7 This module prevents unaffiliated users from sending private messages in | |
| 8 chat rooms, unless someone with an affiliation (member, admin etc) | |
| 9 messages them first. | |
| 10 | |
| 11 # Configuration | |
| 12 | |
| 13 The module doesn't have any options, just load it onto a MUC component. | |
| 14 | |
| 15 ``` lua | |
| 16 Component "muc" | |
| 17 modules_enabled = { | |
| 18 "muc_block_pm"; | |
| 19 } | |
| 20 ``` | |
| 21 | |
| 22 # Compatibility | |
| 23 | |
| 24 Branch State | |
| 25 -------- ----------------- | |
| 26 0.9 Works | |
| 27 0.10 Should work | |
| 28 trunk *Does not work* |