mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 14:24:55 -04:00
Wait for lazy join to complete when getting current state (#12872)
This commit is contained in:
parent
782cb7420a
commit
888a29f412
33 changed files with 361 additions and 82 deletions
|
@ -255,7 +255,9 @@ class Mailer:
|
|||
user_display_name = user_id
|
||||
|
||||
async def _fetch_room_state(room_id: str) -> None:
|
||||
room_state = await self.store.get_current_state_ids(room_id)
|
||||
room_state = await self._state_storage_controller.get_current_state_ids(
|
||||
room_id
|
||||
)
|
||||
state_by_room[room_id] = room_state
|
||||
|
||||
# Run at most 3 of these at once: sync does 10 at a time but email
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue