File

mod_muc_block_pm/README.md @ 6146:dde2803f7678

mod_persisthosts: Retrieve hosts from config instead of Prosody state This should avoid missing hosts that are activated after the one this module was loaded from.
author Kim Alvefur <zash@zash.se>
date Fri, 10 Jan 2025 16:19:27 +0100
parent 6003:fe081789f7b5
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