summary refs log tree commit diff
path: root/synapse/rest/__init__.py
diff options
context:
space:
mode:
authorDirk Klimpel <5740567+dklimpel@users.noreply.github.com>2023-04-14 18:26:07 +0200
committerGitHub <noreply@github.com>2023-04-14 12:26:07 -0400
commite4a25d022c1e4b71e043b07324d95362f7fb4067 (patch)
tree14244883d33d034ae45a6b12fd5401e80110405a /synapse/rest/__init__.py
parentUser directory background update speedup (#15435) (diff)
downloadsynapse-e4a25d022c1e4b71e043b07324d95362f7fb4067.tar.xz
Load `/capabilities` endpoint on workers (#15436)
Diffstat (limited to 'synapse/rest/__init__.py')
-rw-r--r--synapse/rest/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/__init__.py b/synapse/rest/__init__.py
index 19603ed137..1af8d99d20 100644
--- a/synapse/rest/__init__.py
+++ b/synapse/rest/__init__.py
@@ -133,8 +133,8 @@ class ClientRestResource(JsonResource):
         if is_main_process:
             room_upgrade_rest_servlet.register_servlets(hs, client_resource)
         room_batch.register_servlets(hs, client_resource)
+        capabilities.register_servlets(hs, client_resource)
         if is_main_process:
-            capabilities.register_servlets(hs, client_resource)
             account_validity.register_servlets(hs, client_resource)
         relations.register_servlets(hs, client_resource)
         password_policy.register_servlets(hs, client_resource)