mod_muc_webchat_url: Fix default url
[prosody-modules.git] / mod_discoitems / README.markdown
blob28b3b3a4bbcbf2feb2d806c63f7902b2e88e266a
1 ---
2 labels:
3 - 'Stage-Beta'
4 summary: Manually override the list of service discovery items
5 ...
7 Introduction
8 ============
10 This Prosody plugin lets you manually override the service discovery
11 items for a host.
13 Usage
14 =====
16 Simply add `"discoitems"` to your modules\_enabled list. Then add the
17 `disco_items` option to hosts for which you wish to override the default
18 response.
20 Note: mod\_disco in Prosody 0.8+ supports the `disco_items` option; this
21 plugin changes the behavior from appending items to replacing items
23 Configuration
24 =============
26 The `disco_items` option can be added to relevant hosts:
28     disco_items = {
29       {"proxy.eu.jabber.org", "Jabber.org SOCKS5 service"};
30       {"conference.jabber.org", "The Jabber.org MUC"};
31     }
33 The format for individual items is `{JID, display-name}`. The
34 display-name can be omitted: `{JID}`.
36 Compatibility
37 =============
39   ----- -------------
40   0.8   Works
41   0.7   Works
42   0.6   Works
43   0.5   Should work
44   ----- -------------