comparison mod_discoitems/README.wiki @ 1782:29f3d6b7ad16

Import wiki pages
author Kim Alvefur <zash@zash.se>
date Mon, 24 Aug 2015 16:43:56 +0200
parents
children
comparison
equal deleted inserted replaced
1781:12ac88940fe3 1782:29f3d6b7ad16
1 #summary Manually override the list of service discovery items
2 #labels Stage-Beta
3
4 = Introduction =
5
6 This Prosody plugin lets you manually override the service discovery items for a host.
7
8 = Usage =
9
10 Simply add `"discoitems"` to your modules_enabled list. Then add the `disco_items` option to hosts for which you wish to override the default response.
11
12 Note: mod_disco in Prosody 0.8+ supports the `disco_items` option; this plugin changes the behavior from appending items to replacing items
13
14 = Configuration =
15
16 The `disco_items` option can be added to relevant hosts:
17
18 {{{
19 disco_items = {
20 {"proxy.eu.jabber.org", "Jabber.org SOCKS5 service"};
21 {"conference.jabber.org", "The Jabber.org MUC"};
22 }
23 }}}
24
25 The format for individual items is `{JID, display-name}`. The display-name can be omitted: `{JID}`.
26
27 = Compatibility =
28 ||0.8||Works||
29 ||0.7||Works||
30 ||0.6||Works||
31 ||0.5||Should work||
32