]> granicus.if.org Git - ejabberd/commit
Introduce force_node_config for mod_pubsub
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>
Sun, 11 Mar 2018 13:52:23 +0000 (16:52 +0300)
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>
Sun, 11 Mar 2018 13:54:35 +0000 (16:54 +0300)
commit2785f1dfd2e1c15cc7ebfb909b8304f1e7a86414
treeda0459f06c1e12ec5947ae76155da613dec846ae
parentb179874ec670355981f0b9d9eec24754df6654f2
Introduce force_node_config for mod_pubsub

The option can be used to override configuration options of a
particular PubSub node. Example:

mod_pubsub:
  ...
  force_node_config:
    "eu.siacs.conversations.axolotl.*":
      access_model: whitelist
    "*":
      persist_items: true

Fixes #2276
src/mod_pubsub.erl