view mod_muc_restrict_attention/README.md @ 6423:d748985de48f

mod_muc_restrict_attention: New Module based on mod_muc_restrict_media to strip Attention. Untested.
author Menel <menel@snikket.de>
date Sun, 08 Mar 2026 10:59:40 +0100
parents
children 23e3edb6f9ea
line wrap: on
line source

---
summary: Strip XEP-0224 Attention from unaffiliated users in rooms
labels:
- Stage-Alpha
...

# Introduction

This module adds a room configuration option to strip XEP-0224 Attention from
unaffiliated users in MUCs.

This can prevent spam and noise in clients that don't have precautions against this in place.

# Configuring

## Enabling

``` {.lua}
Component "rooms.example.net" "muc"
modules_enabled = {
    "muc_restrict_attention";
}
```

## Settings

A default setting can be provided in the config file, defaults to true:

``` {.lua}
muc_room_default_restrict_attention = true

```

# Todo

- restrict it for Members too and also strip it from everyone per room.
- Actually test it. Didn't find a client that allowed me to try as unaffiliated user.

# Compatibility

Should work with Prosody >= 13.0