Skip to content
Holger Weiß edited this page Sep 5, 2016 · 3 revisions

You should use ejabberd 14.12 or newer, as the PEP support in older versions is buggy.

Then, ejabberd's PubSub configuration should be tweaked a bit in order to make it work well with Movim. For example, Movim uses PEP nodes for microblogging, and by default, ejabberd stores only the most recent posting. ejabberd allows Movim to increase the number of stored items per PubSub node, but only to up to a maximum of 10 items by default. A PubSub setup such as the following takes care of these and other issues:

access:
  # [...]
  pubsub_createnode:
    local: allow

modules:
  # [...]
  mod_caps: {}
  mod_pubsub:
    access_createnode: pubsub_createnode
    ignore_pep_from_offline: false
    last_item_cache: true
    max_items_node: 1000
    plugins:
      - "flat"
      - "pep" # Requires mod_caps.
      - "mb"
    pep_mapping:
      "urn:xmpp:microblog:0": "mb"
Clone this wiki locally