Browse Source

add matrix_synapse_oembed_additional_providers var

pull/3754/head
Aine 1 year ago
parent
commit
95aaf76d0d
No known key found for this signature in database GPG Key ID: 34969C908CCA2804
2 changed files with 4 additions and 0 deletions
  1. +3
    -0
      roles/custom/matrix-synapse/defaults/main.yml
  2. +1
    -0
      roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2

+ 3
- 0
roles/custom/matrix-synapse/defaults/main.yml 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 }}"




+ 1
- 0
roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 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 ##


Loading…
Cancel
Save