Add Ansible variables to control the async_media settings in (mautrix) bridges

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4549
This commit is contained in:
Slavi Pantaleev
2025-09-06 07:54:14 +03:00
parent 39efe79417
commit 3daf14d695
28 changed files with 56 additions and 14 deletions

View File

@@ -79,6 +79,9 @@ matrix_mautrix_telegram_public_endpoint: "{{ matrix_mautrix_telegram_path_prefix
matrix_mautrix_telegram_homeserver_address: ""
matrix_mautrix_telegram_homeserver_domain: '{{ matrix_domain }}'
# Whether asynchronous uploads via MSC2246 should be enabled for media.
# Requires a homeserver that supports MSC2246 (https://github.com/matrix-org/matrix-spec-proposals/pull/2246).
matrix_mautrix_telegram_homeserver_async_media: false
matrix_mautrix_telegram_appservice_address: 'http://matrix-mautrix-telegram:8080'
matrix_mautrix_telegram_appservice_public_external: '{{ matrix_mautrix_telegram_scheme }}://{{ matrix_mautrix_telegram_hostname }}{{ matrix_mautrix_telegram_public_endpoint }}'

View File

@@ -21,7 +21,7 @@ homeserver:
message_send_checkpoint_endpoint: null
# Whether asynchronous uploads via MSC2246 should be enabled for media.
# Requires a media repo that supports MSC2246.
async_media: false
async_media: {{ matrix_mautrix_telegram_homeserver_async_media | to_json }}
# Application service host/registration related details
# Changing these values requires regeneration of the registration.