summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--changelog.d/10038.feature1
-rw-r--r--synapse/handlers/space_summary.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/changelog.d/10038.feature b/changelog.d/10038.feature
new file mode 100644
index 0000000000..2c655350c0
--- /dev/null
+++ b/changelog.d/10038.feature
@@ -0,0 +1 @@
+Experimental support to allow a user who could join a restricted room to view it in the spaces summary.
diff --git a/synapse/handlers/space_summary.py b/synapse/handlers/space_summary.py
index 8d49ba8164..abd9ddecca 100644
--- a/synapse/handlers/space_summary.py
+++ b/synapse/handlers/space_summary.py
@@ -50,8 +50,6 @@ class SpaceSummaryHandler:
     def __init__(self, hs: "HomeServer"):
         self._clock = hs.get_clock()
         self._auth = hs.get_auth()
-        self._room_list_handler = hs.get_room_list_handler()
-        self._state_handler = hs.get_state_handler()
         self._event_auth_handler = hs.get_event_auth_handler()
         self._store = hs.get_datastore()
         self._event_serializer = hs.get_event_client_serializer()