mod_muc_restrict_attention

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

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

Settings

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

muc_room_default_restrict_attention = true

Todo

Compatibility

Should work with Prosody >= 13.0


Installation

With the plugin installer in Prosody 0.12 you can use:

sudo prosodyctl install --server=https://modules.prosody.im/rocks/ mod_muc_restrict_attention

For earlier versions see the documentation for installing 3rd party modules