mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-20 11:44:18 -05:00
Always specify state_group so that its in the cache
This commit is contained in:
parent
826ca61745
commit
f51888530d
@ -302,6 +302,8 @@ class StateHandler(object):
|
|||||||
if new_state_event_ids == frozenset(e_id for e_id in events):
|
if new_state_event_ids == frozenset(e_id for e_id in events):
|
||||||
state_group = sg
|
state_group = sg
|
||||||
break
|
break
|
||||||
|
if not state_group:
|
||||||
|
state_group = self.store.get_next_state_group()
|
||||||
|
|
||||||
if self._state_cache is not None:
|
if self._state_cache is not None:
|
||||||
cache = _StateCacheEntry(
|
cache = _StateCacheEntry(
|
||||||
|
Loading…
Reference in New Issue
Block a user