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.
Component "rooms.example.net" "muc"
modules_enabled = {
"muc_restrict_attention";
}A default setting can be provided in the config file, defaults to true:
muc_room_default_restrict_attention = trueShould work with Prosody >= 13.0
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