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-03-02 18:59:53 +0100
committerGitHub <noreply@github.com>2023-03-02 12:59:53 -0500
commitecbe0ddbe7c47e05bc27b39dc10a9c30eafd2960 (patch)
tree9d65fbad2d0972274641b1c3d828c59c003ef95b /synapse/rest/__init__.py
parentRemove the unspecced and bugged PUT /knock/{roomIdOrAlias} endpoint (#15189) (diff)
downloadsynapse-ecbe0ddbe7c47e05bc27b39dc10a9c30eafd2960.tar.xz
Add support for knocking to workers. (#15133)
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 c327f15043..2e19e055d3 100644
--- a/synapse/rest/__init__.py
+++ b/synapse/rest/__init__.py
@@ -139,7 +139,7 @@ class ClientRestResource(JsonResource):
         relations.register_servlets(hs, client_resource)
         if is_main_process:
             password_policy.register_servlets(hs, client_resource)
-            knock.register_servlets(hs, client_resource)
+        knock.register_servlets(hs, client_resource)
 
         # moving to /_synapse/admin
         if is_main_process: