mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 04:24:56 -04:00
Fix a bug which could lead to incorrect state (#13278)
There are two fixes here: 1. A long-standing bug where we incorrectly calculated `delta_ids`; and 2. A bug introduced in #13267 where we got current state incorrect.
This commit is contained in:
parent
512486bbeb
commit
7be954f59b
4 changed files with 58 additions and 7 deletions
|
@ -948,7 +948,8 @@ class EventsPersistenceStorageController:
|
|||
events_context,
|
||||
)
|
||||
|
||||
return res.state, None, new_latest_event_ids
|
||||
full_state = await res.get_state(self._state_controller)
|
||||
return full_state, None, new_latest_event_ids
|
||||
|
||||
async def _prune_extremities(
|
||||
self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue