summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatrick Cloke <patrickc@matrix.org>2021-03-18 14:39:05 -0400
committerPatrick Cloke <patrickc@matrix.org>2021-03-18 14:40:56 -0400
commit9b0e3009fa4722472fa7c576bcf44228fa8f6a1f (patch)
treedcfa661bf09e92680b8a1635ac1ca46cc1f29a4d
parentInitial spaces summary API (#9643) (diff)
downloadsynapse-9b0e3009fa4722472fa7c576bcf44228fa8f6a1f.tar.xz
Fix type-hints from bad merge.
-rw-r--r--synapse/rest/client/v1/room.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/rest/client/v1/room.py b/synapse/rest/client/v1/room.py
index f78d792264..b7aa82a654 100644
--- a/synapse/rest/client/v1/room.py
+++ b/synapse/rest/client/v1/room.py
@@ -1005,7 +1005,7 @@ class RoomSpaceSummaryRestServlet(RestServlet):
         ),
     )
 
-    def __init__(self, hs: "synapse.server.HomeServer"):
+    def __init__(self, hs: "HomeServer"):
         super().__init__()
         self._auth = hs.get_auth()
         self._space_summary_handler = hs.get_space_summary_handler()
@@ -1044,7 +1044,7 @@ class RoomSpaceSummaryRestServlet(RestServlet):
         )
 
 
-def register_servlets(hs: "synapse.server.HomeServer", http_server, is_worker=False):
+def register_servlets(hs: "HomeServer", http_server, is_worker=False):
     RoomStateEventRestServlet(hs).register(http_server)
     RoomMemberListRestServlet(hs).register(http_server)
     JoinedRoomMemberListRestServlet(hs).register(http_server)