Make Synapse's url_preview_accept_language default to 'en-US, en'

Related to https://github.com/matrix-org/synapse/issues/11604

Getting an upstream fix is preferable. In any case, it's probably nice
to have this defined explicitly in our configuration. This way, people
can more easily discover that they can override the URL preview
language.
This commit is contained in:
Slavi Pantaleev
2021-12-18 14:52:06 +02:00
parent 019ba93e1e
commit 01b6bba9d7
2 changed files with 4 additions and 2 deletions

View File

@ -1149,8 +1149,7 @@ max_spider_size: 10M
# - fr;q=0.8
# - *;q=0.7
#
url_preview_accept_language:
# - en
url_preview_accept_language: {{ matrix_url_preview_accept_language|to_json }}
## Captcha ##