summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2021-05-27 22:45:43 +0100
committerGitHub <noreply@github.com>2021-05-27 22:45:43 +0100
commit5eed6348ce747b26883ffe812d69ec4d0fbde5fd (patch)
tree4cd57e1ec14636cca758450184ce21919a0f9978 /synapse/rest
parentMake reason and score optional for report_event (#10077) (diff)
downloadsynapse-5eed6348ce747b26883ffe812d69ec4d0fbde5fd.tar.xz
Move some more endpoints off master (#10084)
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/client/v1/room.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/synapse/rest/client/v1/room.py b/synapse/rest/client/v1/room.py
index d6d55893af..70286b0ff7 100644
--- a/synapse/rest/client/v1/room.py
+++ b/synapse/rest/client/v1/room.py
@@ -1061,15 +1061,15 @@ def register_servlets(hs: "HomeServer", http_server, is_worker=False):
     RoomTypingRestServlet(hs).register(http_server)
     RoomEventContextServlet(hs).register(http_server)
     RoomSpaceSummaryRestServlet(hs).register(http_server)
+    RoomEventServlet(hs).register(http_server)
+    JoinedRoomsRestServlet(hs).register(http_server)
+    RoomAliasListServlet(hs).register(http_server)
+    SearchRestServlet(hs).register(http_server)
 
     # Some servlets only get registered for the main process.
     if not is_worker:
         RoomCreateRestServlet(hs).register(http_server)
         RoomForgetRestServlet(hs).register(http_server)
-        SearchRestServlet(hs).register(http_server)
-        JoinedRoomsRestServlet(hs).register(http_server)
-        RoomEventServlet(hs).register(http_server)
-        RoomAliasListServlet(hs).register(http_server)
 
 
 def register_deprecated_servlets(hs, http_server):