From 975f14d2d8e632dbd1669ed9478c99bad8ae45f5 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Sat, 14 Mar 2026 23:32:10 +0200 Subject: [PATCH] matrix-synapse: route the current Nheko summary endpoint Synapse currently supports both the deprecated `/_matrix/client/unstable/im.nheko.summary/rooms//summary` route and the recommended `/_matrix/client/unstable/im.nheko.summary/summary/` form. MDAD only matched the deprecated shape. Add the recommended pattern alongside the old one so worker routing matches the current upstream API surface while preserving backward compatibility for the deprecated path. Refs: - https://github.com/element-hq/synapse/blob/b99a58719b274fcbb327fd8d7649185792bfd12c/docs/workers.md#synapseappgeneric_worker - https://github.com/element-hq/synapse/blob/b99a58719b274fcbb327fd8d7649185792bfd12c/synapse/rest/client/room.py#L1716-L1728 --- roles/custom/matrix-synapse/vars/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/custom/matrix-synapse/vars/main.yml b/roles/custom/matrix-synapse/vars/main.yml index 0f2930626..7781bdf40 100644 --- a/roles/custom/matrix-synapse/vars/main.yml +++ b/roles/custom/matrix-synapse/vars/main.yml @@ -200,6 +200,7 @@ matrix_synapse_workers_generic_worker_endpoints: - ^/_matrix/client/(v1|unstable)/rooms/.*/relations/ - ^/_matrix/client/v1/rooms/.*/threads$ - ^/_matrix/client/unstable/im.nheko.summary/rooms/.*/summary$ + - ^/_matrix/client/unstable/im.nheko.summary/summary/.*$ - ^/_matrix/client/(r0|v3|unstable)/account/3pid$ - ^/_matrix/client/(r0|v3|unstable)/account/whoami$ - ^/_matrix/client/versions$