view mod_server_contact_info/README.markdown @ 1955:f719d5e6c627

mod_privilege: fixed session.privilege overwritting when multiple hosts are activated + fixed roster permission check on presence permission.
author Goffi <goffi@goffi.org>
date Tue, 24 Nov 2015 15:32:54 +0100
parents 8de50be756e5
children d9c19ee16f2e
line wrap: on
line source

---
labels:
- 'Stage-Alpha'
summary: Contact Addresses for XMPP Services
...

Introduction
============

This module implements [XEP-0157: Contact Addresses for XMPP
Services](http://xmpp.org/extensions/xep-0157.html).

Configuration
=============

``` lua
contact_info = {
  abuse = { "mailto:abuse@shakespeare.lit", "xmpp:abuse@shakespeare.lit" };
  admin = { "mailto:admin@shakespeare.lit", "xmpp:admin@shakespeare.lit" };
  feedback = { "http://shakespeare.lit/feedback.php", "mailto:feedback@shakespeare.lit", "xmpp:feedback@shakespeare.lit" };
  sales = "xmpp:bard@shakespeare.lit";
  security = "xmpp:security@shakespeare.lit";
  support = { "http://shakespeare.lit/support.php", "xmpp:support@shakespeare.lit" };
};
```

The default is based on the `admins` config variable.

Compatibility
=============

  ------- -------
  trunk   Works
  ------- -------