Software / code / prosody-modules
Comparison
mod_muc_block_pm/README.markdown @ 5598:c7e532ac6bf7
mod_muc_block_pm: Update to 0.12+ API, use roles instead of affiliations
The module was possibly broken with 0.12 before.
This changes the behavior to allow only messages to or from moderators.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 12 Jul 2023 15:47:20 +0200 |
| parent | 3636:afedc2430b0d |
comparison
equal
deleted
inserted
replaced
| 5597:b681948a01f1 | 5598:c7e532ac6bf7 |
|---|---|
| 1 --- | 1 --- |
| 2 summary: Prevent unaffiliated MUC participants from sending PMs | 2 summary: Prevent MUC participants from sending PMs |
| 3 --- | 3 --- |
| 4 | 4 |
| 5 # Introduction | 5 # Introduction |
| 6 | 6 |
| 7 This module prevents unaffiliated users from sending private messages in | 7 This module prevents *participants* from sending private messages to |
| 8 chat rooms, unless someone with an affiliation (member, admin etc) | 8 anyone except *moderators*. |
| 9 messages them first. | |
| 10 | 9 |
| 11 # Configuration | 10 # Configuration |
| 12 | 11 |
| 13 The module doesn't have any options, just load it onto a MUC component. | 12 The module doesn't have any options, just load it onto a MUC component. |
| 14 | 13 |
| 21 | 20 |
| 22 # Compatibility | 21 # Compatibility |
| 23 | 22 |
| 24 Branch State | 23 Branch State |
| 25 -------- ----------------- | 24 -------- ----------------- |
| 26 0.9 Works | 25 0.11 Will **not** work |
| 27 0.10 Should work | 26 0.12 Should work |
| 28 0.11 Should work |