Always specify state_group so that its in the cache

This commit is contained in:
Erik Johnston 2016-08-31 14:58:11 +01:00
parent 826ca61745
commit f51888530d
1 changed files with 2 additions and 0 deletions

View File

@ -302,6 +302,8 @@ class StateHandler(object):
if new_state_event_ids == frozenset(e_id for e_id in events):
state_group = sg
break
if not state_group:
state_group = self.store.get_next_state_group()
if self._state_cache is not None:
cache = _StateCacheEntry(