summary refs log tree commit diff
path: root/develop/usage/configuration/homeserver_sample_config.html
diff options
context:
space:
mode:
authorbabolivier <babolivier@users.noreply.github.com>2022-01-28 14:42:03 +0000
committerbabolivier <babolivier@users.noreply.github.com>2022-01-28 14:42:03 +0000
commit41788c9fbdb728a5b73cbb11ba8e91d0b902040e (patch)
tree2177e6d10c8f9f2d4b614373d238637ac9ebb147 /develop/usage/configuration/homeserver_sample_config.html
parentdeploy: fd65139714433763e8ef5be6017ab6ba5988e766 (diff)
downloadsynapse-41788c9fbdb728a5b73cbb11ba8e91d0b902040e.tar.xz
deploy: bf60da1a60096fac5fb778b732ff2214862ac808
Diffstat (limited to 'develop/usage/configuration/homeserver_sample_config.html')
-rw-r--r--develop/usage/configuration/homeserver_sample_config.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/develop/usage/configuration/homeserver_sample_config.html b/develop/usage/configuration/homeserver_sample_config.html
index bac8ea1235..089fd78826 100644
--- a/develop/usage/configuration/homeserver_sample_config.html
+++ b/develop/usage/configuration/homeserver_sample_config.html
@@ -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.
 #