summary refs log tree commit diff
path: root/synapse/rest/admin/__init__.py
diff options
context:
space:
mode:
authorTravis Ralston <travpc@gmail.com>2021-01-21 12:35:05 -0700
committerTravis Ralston <travpc@gmail.com>2021-01-21 12:35:05 -0700
commitf7a03e86e0f99724acd28963e7600f13b487ce19 (patch)
tree7a0846bdf1d8b4b9526262eccd885e99fdb5e213 /synapse/rest/admin/__init__.py
parentMerge branch 'travis/fosdem/admin-api-groups' into travis/fosdem/hotfixes (diff)
parentGet the right requester object (diff)
downloadsynapse-f7a03e86e0f99724acd28963e7600f13b487ce19.tar.xz
Merge branch 'travis/fosdem/admin-api-room-state' into travis/fosdem/hotfixes
Diffstat (limited to 'synapse/rest/admin/__init__.py')
-rw-r--r--synapse/rest/admin/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/rest/admin/__init__.py b/synapse/rest/admin/__init__.py
index b7121c0c26..a20a459874 100644
--- a/synapse/rest/admin/__init__.py
+++ b/synapse/rest/admin/__init__.py
@@ -45,6 +45,7 @@ from synapse.rest.admin.rooms import (
     MakeRoomAdminRestServlet,
     RoomMembersRestServlet,
     RoomRestServlet,
+    RoomStateRestServlet,
     ShutdownRoomRestServlet,
 )
 from synapse.rest.admin.server_notice_servlet import SendServerNoticeServlet
@@ -213,6 +214,7 @@ def register_servlets(hs, http_server):
     """
     register_servlets_for_client_rest_resource(hs, http_server)
     ListRoomRestServlet(hs).register(http_server)
+    RoomStateRestServlet(hs).register(http_server)
     RoomRestServlet(hs).register(http_server)
     RoomMembersRestServlet(hs).register(http_server)
     DeleteRoomRestServlet(hs).register(http_server)