Merge pull request #3754 from spantaleev/add-oembed-var

add matrix_synapse_oembed_additional_providers var
This commit is contained in:
Aine 2024-11-07 11:10:32 +02:00 committed by GitHub
commit 513320199a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -362,6 +362,9 @@ matrix_synapse_media_retention_local_media_lifetime:
# should be empty to disable # should be empty to disable
matrix_synapse_media_retention_remote_media_lifetime: matrix_synapse_media_retention_remote_media_lifetime:
# Controls the list of additional oembed providers to be added to the homeserver.
matrix_synapse_oembed_additional_providers: []
# The tmpfs at /tmp needs to be large enough to handle multiple concurrent file uploads. # The tmpfs at /tmp needs to be large enough to handle multiple concurrent file uploads.
matrix_synapse_tmp_directory_size_mb: "{{ matrix_synapse_max_upload_size_mb * 50 }}" matrix_synapse_tmp_directory_size_mb: "{{ matrix_synapse_max_upload_size_mb * 50 }}"

View File

@ -1235,6 +1235,7 @@ oembed:
# #
#additional_providers: #additional_providers:
# - oembed/my_providers.json # - oembed/my_providers.json
additional_providers: {{ matrix_synapse_oembed_additional_providers|to_json }}
## Captcha ## ## Captcha ##