mod_pubsub

Implements a XEP-0060 pubsub service.

Usage

Load as a component:

Component "pubsub.example.com" "pubsub"

Configuration

Various options are supported:

admins = {}

Add additional admins for this component (global admins are automatically admins)

default_admin_affiliation = "owner"

The default affiliation of admins to nodes

autocreate_on_subscribe = false

Whether to automatically create non-existent nodes when someone subscribes

autocreate_on_publish = false

Whether to automatically create non-existent nodes when someone publishes

pubsub_max_items = 256

Limit on how many items nodes can be configured to store.