summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorNick Mills-Barrett <nick@beeper.com>2022-05-25 10:51:07 +0100
committerGitHub <noreply@github.com>2022-05-25 09:51:07 +0000
commit1f9013ce60ac7c2b75ea1bfacb9314239e4e0cff (patch)
tree0bf5b5c3193e895c23c44c90c0e146ea65c61a52 /synapse
parentDon't create empty AS txns when the AS is down (#12869) (diff)
downloadsynapse-1f9013ce60ac7c2b75ea1bfacb9314239e4e0cff.tar.xz
Add the `batch_send` endpoint to generic workers (#12868)
Diffstat (limited to 'synapse')
-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 39d9db8d98..c0d007bb79 100644
--- a/synapse/app/generic_worker.py
+++ b/synapse/app/generic_worker.py
@@ -78,6 +78,7 @@ from synapse.rest.client import (
     read_marker,
     receipts,
     room,
+    room_batch,
     room_keys,
     sendtodevice,
     sync,
@@ -309,6 +310,7 @@ class GenericWorkerServer(HomeServer):
                     room.register_servlets(self, resource, is_worker=True)
                     room.register_deprecated_servlets(self, resource)
                     initial_sync.register_servlets(self, resource)
+                    room_batch.register_servlets(self, resource)
                     room_keys.register_servlets(self, resource)
                     tags.register_servlets(self, resource)
                     account_data.register_servlets(self, resource)