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

@@ -47,6 +47,9 @@ matrix_wechat_agent_container_src_files_path: "{{ matrix_wechat_base_path }}/age
matrix_wechat_homeserver_address: ""
matrix_wechat_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_wechat_homeserver_async_media: false
matrix_wechat_appservice_address: 'http://matrix-wechat:8080'
matrix_wechat_container_network: ""

View File

@@ -16,7 +16,7 @@ homeserver:
# Endpoint for reporting per-message status.
message_send_checkpoint_endpoint: null
# Does the homeserver support https://github.com/matrix-org/matrix-spec-proposals/pull/2246?
async_media: false
async_media: {{ matrix_wechat_homeserver_async_media | to_json }}
# Should the bridge use a websocket for connecting to the homeserver?
# The server side is currently not documented anywhere and is only implemented by mautrix-wsproxy,