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

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizzadar committed Sep 13, 2022
1 parent 3df4579 commit b9c4f7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Binary file added main.tar.gz
Binary file not shown.
4 changes: 3 additions & 1 deletion synapse/storage/databases/main/roommember.py
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,9 @@ async def get_rooms_for_user(self, user_id: str) -> FrozenSet[str]:
participating in.
"""
rooms = self.get_rooms_for_user_with_stream_ordering.cache.get_immediate(
(user_id,), None, update_metrics=False,
(user_id,),
None,
update_metrics=False,
)
if rooms:
return frozenset(r.room_id for r in rooms)
Expand Down

0 comments on commit b9c4f7d

Please sign in to comment.