view @ 82:f75b675c8de3

mod_discoitems: Initial commit.
author Waqas Hussain <>
date Sun, 01 Nov 2009 18:17:39 +0500
children 75092a6a82b2
line wrap: on
line source

#summary Manually specify the list of service discovery items
#labels Stage-Beta

= Introduction =

This Prosody plugin lets you manually override the service discovery items for a host.

= Usage =

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.

= Configuration =

The `disco_items` option can be added to relevant hosts:

disco_items = {
  {"", " SOCKS5 service"};
  {"", "The MUC"};

The format for individual items is `{JID, display-name}`. The display-name can be omitted: `{JID}`.

= Compatibility =
||0.5||Should work||

= Caveats/Todos/Bugs =

  * Consider for merging into mod_disco in Prosody trunk