Move force_node_config defaults into ejabberd.yml.example

This commit is contained in:
Evgeniy Khramtsov 2018-03-23 16:08:12 +03:00
parent 92bc5dc85b
commit 55604b2d97
2 changed files with 6 additions and 6 deletions

View File

@ -781,6 +781,11 @@ modules:
- "flat"
- "hometree"
- "pep" # pep requires mod_caps
## Avoid using OMEMO by default because it
## introduces a lot of hard-to-track problems
force_node_config:
"eu.siacs.conversations.axolotl.*":
access_model: whitelist
mod_push: {}
mod_push_keepalive: {}
## mod_register:

View File

@ -3891,9 +3891,4 @@ mod_options(Host) ->
{pep_mapping, []},
{plugins, [?STDNODE]},
{max_subscriptions_node, undefined},
{default_node_config, []},
%% Avoid using OMEMO by default because it
%% introduces a lot of hard-to-track problems
{force_node_config,
[{<<"eu.siacs.conversations.axolotl.*">>,
[{access_model, whitelist}]}]}].
{default_node_config, []}].