summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-05-21 12:02:01 -0400
committerGitHub <noreply@github.com>2021-05-21 12:02:01 -0400
commitc5413d0e9ef6afa9cb5140774acfb4954fe0bf37 (patch)
tree417e0a78d2c2517cc56db8008ae5b2067267420f
parentFixed removal of new presence stream states (#10014) (diff)
downloadsynapse-c5413d0e9ef6afa9cb5140774acfb4954fe0bf37.tar.xz
Remove unused properties from the SpaceSummaryHandler. (#10038)
-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()