summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatrick Cloke <patrickc@matrix.org>2022-10-04 10:20:23 -0400
committerPatrick Cloke <patrickc@matrix.org>2022-10-04 10:20:23 -0400
commit837909d17d0f4898b8f4747436c59f7c605a5323 (patch)
treed8a1084d62112a0fbeeabbf20fda720d4c49347b
parentStart a client reader. (diff)
downloadsynapse-837909d17d0f4898b8f4747436c59f7c605a5323.tar.xz
Run the /relations endpoint on workers.
-rw-r--r--synapse/app/generic_worker.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/app/generic_worker.py b/synapse/app/generic_worker.py
index 5e3825fca6..6e763d76a9 100644
--- a/synapse/app/generic_worker.py
+++ b/synapse/app/generic_worker.py
@@ -65,6 +65,7 @@ from synapse.rest.client import (
     push_rule,
     read_marker,
     receipts,
+    relations,
     room,
     room_batch,
     room_keys,
@@ -308,6 +309,7 @@ class GenericWorkerServer(HomeServer):
                     sync.register_servlets(self, resource)
                     events.register_servlets(self, resource)
                     room.register_servlets(self, resource, is_worker=True)
+                    relations.register_servlets(hs, client_resource)
                     room.register_deprecated_servlets(self, resource)
                     initial_sync.register_servlets(self, resource)
                     room_batch.register_servlets(self, resource)