From faf3b8c7a7e7a819ca034c6fd07b28967a04adb7 Mon Sep 17 00:00:00 2001 From: Till Faelligen Date: Tue, 5 Apr 2022 17:40:21 +0200 Subject: [PATCH] Update configs --- build/docker/config/dendrite.yaml | 11 +++++++++++ dendrite-config.yaml | 8 ++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/build/docker/config/dendrite.yaml b/build/docker/config/dendrite.yaml index 25cbd6d8c..e3a0316dc 100644 --- a/build/docker/config/dendrite.yaml +++ b/build/docker/config/dendrite.yaml @@ -62,6 +62,17 @@ global: - matrix.org - vector.im + # Disables federation. Dendrite will not be able to make any outbound HTTP requests + # to other servers and the federation API will not be exposed. + disable_federation: false + + # Configures the handling of presence events. + presence: + # Whether inbound presence events are allowed, e.g. receiving presence events from other servers + enable_inbound: false + # Whether outbound presence events are allowed, e.g. sending presence events to other servers + enable_outbound: false + # Configuration for NATS JetStream jetstream: # A list of NATS Server addresses to connect to. If none are specified, an diff --git a/dendrite-config.yaml b/dendrite-config.yaml index 3024d8356..47f08c4fd 100644 --- a/dendrite-config.yaml +++ b/dendrite-config.yaml @@ -68,8 +68,12 @@ global: # to other servers and the federation API will not be exposed. disable_federation: false - # Disable presence. Dendrite will not handle presence events. - disable_presence: true + # Configures the handling of presence events. + presence: + # Whether inbound presence events are allowed, e.g. receiving presence events from other servers + enable_inbound: false + # Whether outbound presence events are allowed, e.g. sending presence events to other servers + enable_outbound: false # Server notices allows server admins to send messages to all users. server_notices: