view mod_muc_block_pm/README.markdown @ 5591: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
parents afedc2430b0d
children
line wrap: on
line source

---
summary: Prevent MUC participants from sending PMs
---

# Introduction

This module prevents *participants* from sending private messages to
anyone except *moderators*.

# Configuration

The module doesn't have any options, just load it onto a MUC component.

``` lua
Component "muc"
modules_enabled = {
    "muc_block_pm";
}
```

# Compatibility

    Branch State
  -------- -----------------
      0.11 Will **not** work
      0.12 Should work