From 971c5b954c64136ea43c15ef5d63530e05cc3f17 Mon Sep 17 00:00:00 2001 From: Norman Ziegner Date: Fri, 29 May 2026 10:41:21 +0200 Subject: [PATCH] Add Synapse support for MSC4429 Introduces the `matrix_synapse_experimental_features_msc4429_enabled` variable (disabled by default), allowing Synapse to notify clients using the legacy /sync endpoint of profile changes for other users. See Signed-off-by: Norman Ziegner --- roles/custom/matrix-synapse/defaults/main.yml | 8 ++++++++ .../matrix-synapse/templates/synapse/homeserver.yaml.j2 | 3 +++ 2 files changed, 11 insertions(+) diff --git a/roles/custom/matrix-synapse/defaults/main.yml b/roles/custom/matrix-synapse/defaults/main.yml index d3d5f324e..d7a1585bf 100644 --- a/roles/custom/matrix-synapse/defaults/main.yml +++ b/roles/custom/matrix-synapse/defaults/main.yml @@ -1473,6 +1473,14 @@ matrix_synapse_experimental_features_msc4306_enabled: false # See https://github.com/matrix-org/matrix-spec-proposals/pull/4354 matrix_synapse_experimental_features_msc4354_enabled: false +# Controls whether to enable the MSC4429 experimental feature (profile updates for legacy `/sync`). +# +# This allows servers to notify clients using the legacy `/sync` endpoint of profile changes +# for other users, enabling features such as user status. +# +# See https://github.com/matrix-org/matrix-spec-proposals/pull/4429 +matrix_synapse_experimental_features_msc4429_enabled: false + # Enable this to activate the REST auth password provider module. # See: https://github.com/ma1uta/matrix-synapse-rest-password-provider matrix_synapse_ext_password_provider_rest_auth_enabled: false diff --git a/roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 b/roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 index c97724f60..ec3b3a3c6 100644 --- a/roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 +++ b/roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 @@ -3031,6 +3031,9 @@ experimental_features: {% if matrix_synapse_experimental_features_msc4354_enabled %} msc4354_enabled: true {% endif %} + {% if matrix_synapse_experimental_features_msc4429_enabled %} + msc4429_enabled: true + {% endif %} {% if matrix_synapse_experimental_features_msc4140_enabled %} max_event_delay_duration: {{ matrix_synapse_max_event_delay_duration | to_json }}