aboutsummaryrefslogtreecommitdiff
path: root/app/im/config
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@dufour.io>2021-07-02 13:11:29 +0200
committerQuentin Dufour <quentin@dufour.io>2021-07-02 13:11:29 +0200
commit0a6ffcacd209a1693677f3839d427f471f8fd639 (patch)
tree17de3675d17568aa1e357939794e17a561ed83a4 /app/im/config
parent2d61f1449dbcb502ba07bda6bdea387fdef2cbda (diff)
parent80c2f1f7013266335e17d2f5be7096dc25b7206a (diff)
downloadinfrastructure-0a6ffcacd209a1693677f3839d427f471f8fd639.tar.gz
infrastructure-0a6ffcacd209a1693677f3839d427f471f8fd639.zip
Merge branch 'main' of git.deuxfleurs.fr:Deuxfleurs/infrastructure into main
Diffstat (limited to 'app/im/config')
-rw-r--r--app/im/config/synapse/homeserver.yaml21
1 files changed, 18 insertions, 3 deletions
diff --git a/app/im/config/synapse/homeserver.yaml b/app/im/config/synapse/homeserver.yaml
index 9e141d4..6482772 100644
--- a/app/im/config/synapse/homeserver.yaml
+++ b/app/im/config/synapse/homeserver.yaml
@@ -314,7 +314,7 @@ bcrypt_rounds: 12
# Allows users to register as guests without a password/email/etc, and
# participate in rooms hosted on this server which have been made
# accessible to anonymous users.
-allow_guest_access: True
+allow_guest_access: False
# The list of identity servers trusted to verify third party
# identifiers by this server.
@@ -469,5 +469,20 @@ report_stats: false
suppress_key_server_warning: true
enable_group_creation: true
-experimental_features:
- spaces_enabled: true
+#experimental_features:
+# spaces_enabled: true
+
+presence:
+ enabled: false
+limit_remote_rooms:
+ enabled: true
+ complexity: 3.0
+ complexity_error: "Ce salon de discussion a trop d'activité, le serveur n'est pas assez puissant pour le rejoindre. N'hésitez pas à remonter l'information à l'équipe technique, nous pourrons ajuster la limitation au besoin."
+ admins_can_join: false
+retention:
+ enabled: true
+ # no default policy for now, this is intended.
+ # DO NOT ADD ONE BECAUSE THIS IS DANGEROUS AND WILL DELETE CONTENT WE WANT TO KEEP!
+ purge_jobs:
+ - interval: 1d
+