mod_disco

Clients can discover services and features available on the server if mod_disco is enabled. Some clients will automatically take advantage of the available items while others will need manual configuration.

Details

mod_disco implements XEP-0030. Some modules automatically add their service details such as mod_register and mod_proxy65. Additional disco items can be added using the configuration option in Prosody 0.7 and later.

Usage

    modules_enabled = {
        -- Other modules
        "disco"; -- Enable mod_disco
    }

Configuration

Option Default Notes
disco_items { } The list of disco items to add (Prosody 0.7+)
disco_hidden false Whether the host/component should be hidden from its parent's discovery list by default

Example

    modules_enabled = {
        -- Other modules
        "disco"; -- Enable mod_disco
    }
 
    disco_items = {
        { "proxy.eu.jabber.org", "Jabber.org SOCKS5 service" };
        { "conference.jabber.org", "The Jabber.org MUC" };
    }
 
    Component "secret.example.com"
      -- Prevent a service discovery on example.com from showing this component:
      disco_hidden = true
 
doc/modules/mod_disco.txt · Last modified: 2017/09/20 13:46 by Matthew Wild