Sfoglia il codice sorgente

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

add matrix_synapse_oembed_additional_providers var
pull/3756/head
Aine 1 anno fa
committed by GitHub
parent
commit
513320199a
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: B5690EEEBB952194
2 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  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 Vedi 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 Vedi 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 ##


Caricamento…
Annulla
Salva