Add StateGroupStorage interface

This commit is contained in:
Erik Johnston 2019-10-30 14:07:48 +00:00
parent b7fe62b766
commit 5db03535d5
3 changed files with 235 additions and 1 deletions

View file

@ -550,7 +550,7 @@ class EventsPersistenceStorage(object):
if missing_event_ids:
# Now pull out the state groups for any missing events from DB
event_to_groups = yield self.state_store._get_state_group_for_events(
event_to_groups = yield self.main_store._get_state_group_for_events(
missing_event_ids
)
event_id_to_state_group.update(event_to_groups)