From 151cc5da9f130da41f1307a9b47461b80c1b7966 Mon Sep 17 00:00:00 2001 From: "H. Shay" Date: Mon, 1 Jul 2024 18:36:29 -0700 Subject: [PATCH] add client media endpoints to media repository --- docker/configure_workers_and_start.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/configure_workers_and_start.py b/docker/configure_workers_and_start.py index 063f3727f92..b6690f3404a 100755 --- a/docker/configure_workers_and_start.py +++ b/docker/configure_workers_and_start.py @@ -117,7 +117,7 @@ }, "media_repository": { "app": "synapse.app.generic_worker", - "listener_resources": ["media"], + "listener_resources": ["media", "client"], "endpoint_patterns": [ "^/_matrix/media/", "^/_synapse/admin/v1/purge_media_cache$", @@ -125,6 +125,7 @@ "^/_synapse/admin/v1/user/.*/media.*$", "^/_synapse/admin/v1/media/.*$", "^/_synapse/admin/v1/quarantine_media/.*$", + "^/_matrix/client/v1/media/.*$", ], # The first configured media worker will run the media background jobs "shared_extra_conf": {