add matrix_synapse_oembed_additional_providers var

This commit is contained in:
Aine 2024-11-07 11:08:40 +02:00
parent fc2f09d124
commit 95aaf76d0d
No known key found for this signature in database
GPG Key ID: 34969C908CCA2804
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 ##