Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
kfiven authored Sep 24, 2024
1 parent 3acf696 commit 515e57e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions synapse/handlers/room_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ async def _get_room_hierarchy(
if not local_room:
destination = requested_room_id.split(":", 1)[-1]
room_hierarchy = await self._summarize_remote_room_hierarchy(
_RoomQueueEntry(requested_room_id, (destination)),
_RoomQueueEntry(requested_room_id, [destination]),
False,
)
root_room_entry = room_hierarchy[0]
Expand Down Expand Up @@ -242,7 +242,7 @@ async def _get_room_hierarchy(
else:
# The queue of rooms to process, the next room is last on the stack.
destination = requested_room_id.split(":", 1)[-1]
room_queue = [_RoomQueueEntry(requested_room_id, (destination))]
room_queue = [_RoomQueueEntry(requested_room_id, [destination])]

# Rooms we have already processed.
processed_rooms = set()
Expand Down

0 comments on commit 515e57e

Please sign in to comment.