view @ 163:85482789e90e

mod_group_bookmarks: Fixed typo in example.
author Waqas Hussain <>
date Fri, 24 Dec 2010 11:43:02 +0500
parents 75092a6a82b2
children e4746a9ee7d4
line wrap: on
line source

#summary Manually override 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 =

  * mod_disco in Prosody trunk supports the `disco_items` option; this plugin changes the behavior from appending items to replacing items