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 disco_items configuration option.
Usage
Configuration
| Option | Default | Notes |
|---|---|---|
| disco_items | { } | The list of disco items to add |
| 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 = {
{ "conference.jabber.org", "The Jabber.org MUC" };
{ "irc.jabberfr.org", "A public biboumi instance" };
}
Component "secret.example.com"
-- Prevent a service discovery on example.com from showing this component:
disco_hidden = true