This module can strip XEP-0224 Attention for certain affiliations in rooms. By default it will only allow Attention from admins or above. This can prevent unwanted noise, made with big public channels in mind.
Component "rooms.example.net" "muc"
modules_enabled = {
"muc_restrict_attention";
}A default setting for all rooms can be provided in the config file, (“members”, “participants”, false), defaults to “members”. A loglevel can be set (“debug”, “info”, “warn”, “error”). Defaults to “debug”:
muc_restrict_attention_by_default = "members"
muc_restrict_attention_loglevel = "debug"The module adds a room configuration option to choose the behavior for members, overriding the defaults per room.
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