diff options
author | Erik Johnston <erik@matrix.org> | 2019-10-31 16:17:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-31 16:17:53 +0100 |
commit | dfe0cd71b61c043592cc27b64725918aa5c64724 (patch) | |
tree | ec416471ef0ef54e0f959a9618a07e6ba9ccb64c /synapse/storage/persist_events.py | |
parent | Expose some homeserver functionality to spam checkers (#6259) (diff) | |
parent | Apply suggestions from code review (diff) | |
download | synapse-dfe0cd71b61c043592cc27b64725918aa5c64724.tar.xz |
Merge pull request #6294 from matrix-org/erikj/add_state_storage
Add StateGroupStorage interface
Diffstat (limited to 'synapse/storage/persist_events.py')
-rw-r--r-- | synapse/storage/persist_events.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/persist_events.py b/synapse/storage/persist_events.py index 931dcb6558..fa03ca9ff7 100644 --- a/synapse/storage/persist_events.py +++ b/synapse/storage/persist_events.py @@ -547,7 +547,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) |