mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:06:07 -04:00
Don't pull out the full state when storing state (#13274)
This commit is contained in:
parent
3343035a06
commit
0731e0829c
6 changed files with 130 additions and 69 deletions
|
@ -99,6 +99,10 @@ class _DummyStore:
|
|||
state_group = self._next_group
|
||||
self._next_group += 1
|
||||
|
||||
if current_state_ids is None:
|
||||
current_state_ids = dict(self._group_to_state[prev_group])
|
||||
current_state_ids.update(delta_ids)
|
||||
|
||||
self._group_to_state[state_group] = dict(current_state_ids)
|
||||
|
||||
return state_group
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue