From e60f2d3f4b4f709b3dd160eeb880132d8befbdeb Mon Sep 17 00:00:00 2001 From: Ben Banfield-Zanin Date: Thu, 21 Aug 2025 14:59:25 +0100 Subject: [PATCH] Fix routing to workers for the room admin APIs (#685) * Fix routing to workers for the room admin APIs Co-authored-by: Jason Robinson --- charts/matrix-stack/templates/synapse/_synapse_details.tpl | 2 +- newsfragments/685.fixed.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 newsfragments/685.fixed.md diff --git a/charts/matrix-stack/templates/synapse/_synapse_details.tpl b/charts/matrix-stack/templates/synapse/_synapse_details.tpl index 8a76d8c1..8f5f224e 100644 --- a/charts/matrix-stack/templates/synapse/_synapse_details.tpl +++ b/charts/matrix-stack/templates/synapse/_synapse_details.tpl @@ -227,7 +227,7 @@ responsibleForMedia "^/_matrix/client/(api/v1|r0|v3|unstable)/directory/room/.*$" "^/_matrix/client/(r0|v3|unstable)/capabilities$" "^/_matrix/client/(r0|v3|unstable)/notifications$" - "^/_synapse/admin/v1/rooms/" + "^/_synapse/admin/v1/rooms/[^/]+$" ) }} {{- /* Registration/login requests */}} diff --git a/newsfragments/685.fixed.md b/newsfragments/685.fixed.md new file mode 100644 index 00000000..b178a35f --- /dev/null +++ b/newsfragments/685.fixed.md @@ -0,0 +1 @@ +Fix incorrectly routing unsupported room admin API requests to workers.