Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Avoid unnecessary work in the spaces summary. #10085

Closed
wants to merge 9 commits into from
Prev Previous commit
More comments!
  • Loading branch information
clokep committed Jun 15, 2021
commit a173fe57f27d44d391edbac8ad73bd289d43d011
2 changes: 1 addition & 1 deletion synapse/handlers/space_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ async def get_space_summary(
if room:
rooms_result.append(room)

# Mark whether this room was accessible or not.
# Track whether this room is returned to the user or not.
processed_rooms[room_id] = bool(room)
else:
fed_rooms, events = await self._summarize_remote_room(
Expand Down