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

Commit

Permalink
Fix call to get_immediate
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizzadar committed Sep 13, 2022
1 parent b745518 commit 661e7cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/storage/databases/main/roommember.py
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ 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
(user_id,), None, update_metrics=False,
)
if rooms:
return frozenset(r.room_id for r in rooms)
Expand Down

0 comments on commit 661e7cf

Please sign in to comment.