summary refs log tree commit diff
path: root/synapse/rest/__init__.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@matrix.org>2023-09-07 10:26:07 +0100
committerGitHub <noreply@github.com>2023-09-07 09:26:07 +0000
commit8940d1b28ecbaf9185459e2af62169ecf39a96f5 (patch)
tree47c5360ea140484e9be49ef67cfe45519de219db /synapse/rest/__init__.py
parentBump gitpython from 3.1.32 to 3.1.34 (#16267) (diff)
downloadsynapse-8940d1b28ecbaf9185459e2af62169ecf39a96f5.tar.xz
Add `/notifications` endpoint to workers (#16265)
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 df0845edb2..1be9c47c61 100644
--- a/synapse/rest/__init__.py
+++ b/synapse/rest/__init__.py
@@ -123,7 +123,7 @@ class ClientRestResource(JsonResource):
         if is_main_process:
             report_event.register_servlets(hs, client_resource)
             openid.register_servlets(hs, client_resource)
-            notifications.register_servlets(hs, client_resource)
+        notifications.register_servlets(hs, client_resource)
         devices.register_servlets(hs, client_resource)
         if is_main_process:
             thirdparty.register_servlets(hs, client_resource)