summary refs log tree commit diff
path: root/latest/usage/configuration
diff options
context:
space:
mode:
authorbabolivier <babolivier@users.noreply.github.com>2022-02-08 13:26:46 +0000
committerbabolivier <babolivier@users.noreply.github.com>2022-02-08 13:26:46 +0000
commit9061d49ebbefffeee2de5178461086224f178a24 (patch)
treeb20ba4051e5894c6bca4d513d0d8ace864bf8b8b /latest/usage/configuration
parentdeploy: 1aa2231e271f1b0b08757fc6f94c7c69c2993b25 (diff)
downloadsynapse-9061d49ebbefffeee2de5178461086224f178a24.tar.xz
deploy: 0b561a0ea1384db214c274f45b160c538d2ab65d
Diffstat (limited to 'latest/usage/configuration')
-rw-r--r--latest/usage/configuration/homeserver_sample_config.html34
1 files changed, 29 insertions, 5 deletions
diff --git a/latest/usage/configuration/homeserver_sample_config.html b/latest/usage/configuration/homeserver_sample_config.html
index 7ad314e896..089fd78826 100644
--- a/latest/usage/configuration/homeserver_sample_config.html
+++ b/latest/usage/configuration/homeserver_sample_config.html
@@ -233,11 +233,11 @@ a fresh config using Synapse by following the instructions in
 # documentation on how to configure or create custom modules for Synapse.
 #
 modules:
-    # - module: my_super_module.MySuperClass
-    #   config:
-    #       do_thing: true
-    # - module: my_other_super_module.SomeClass
-    #   config: {}
+  #- module: my_super_module.MySuperClass
+  #  config:
+  #    do_thing: true
+  #- module: my_other_super_module.SomeClass
+  #  config: {}
 
 
 ## Server ##
@@ -663,6 +663,20 @@ limit_remote_rooms:
 #
 #allow_per_room_profiles: false
 
+# The largest allowed file size for a user avatar. Defaults to no restriction.
+#
+# Note that user avatar changes will not work if this is set without
+# using Synapse's media repository.
+#
+#max_avatar_size: 10M
+
+# The MIME types allowed for user avatars. Defaults to no restriction.
+#
+# Note that user avatar changes will not work if this is set without
+# using Synapse's media repository.
+#
+#allowed_avatar_mimetypes: [&quot;image/png&quot;, &quot;image/jpeg&quot;, &quot;image/gif&quot;]
+
 # How long to keep redacted events in unredacted form in the database. After
 # this period redacted events get replaced with their redacted form in the DB.
 #
@@ -1620,6 +1634,16 @@ account_threepid_delegates:
 #
 #auto_join_rooms_for_guests: false
 
+# Whether to inhibit errors raised when registering a new account if the user ID
+# already exists. If turned on, that requests to /register/available will always
+# show a user ID as available, and Synapse won't raise an error when starting
+# a registration with a user ID that already exists. However, Synapse will still
+# raise an error if the registration completes and the username conflicts.
+#
+# Defaults to false.
+#
+#inhibit_user_in_use_error: true
+
 
 ## Metrics ###