mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-15 11:35:32 -04:00
Merge remote-tracking branch 'upstream/release-v1.60'
This commit is contained in:
commit
8975980844
183 changed files with 5167 additions and 1948 deletions
|
@ -54,6 +54,7 @@ class RoomBatchHandler:
|
|||
# We want to use the successor event depth so they appear after `prev_event` because
|
||||
# it has a larger `depth` but before the successor event because the `stream_ordering`
|
||||
# is negative before the successor event.
|
||||
assert most_recent_prev_event_id is not None
|
||||
successor_event_ids = await self.store.get_successor_events(
|
||||
most_recent_prev_event_id
|
||||
)
|
||||
|
@ -141,6 +142,7 @@ class RoomBatchHandler:
|
|||
_,
|
||||
) = await self.store.get_max_depth_of(event_ids)
|
||||
# mapping from (type, state_key) -> state_event_id
|
||||
assert most_recent_event_id is not None
|
||||
prev_state_map = await self.state_store.get_state_ids_for_event(
|
||||
most_recent_event_id
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue