mod_blocklist

Users will often need to block specific users from contacting them and enabling mod_blocklist give users the ability to do that providing their clients support it.

Details

mod_blocklist implements XEP-0191.

Usage

    modules_enabled = {
        -- Other modules
        "blocklist"; -- Enable mod_blocklist
    }

Configuration

-- Supported in 0.12.5+, defaults to false
-- Older versions always bounced blocked messages
bounce_blocked_messages = false


-- By default Prosody keeps an in-memory cache of the
-- blocklists of up to 64 users
blocklist_cache_size = 64

Example

    modules_enabled = {
        -- Other modules
        "blocklist"; -- Enable mod_blocklist
    }