summary refs log tree commit diff
path: root/synapse/storage/persist_events.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-10-30 14:07:48 +0000
committerErik Johnston <erik@matrix.org>2019-10-30 14:46:49 +0000
commit5db03535d587f9a3dc460ad9c015ab6a35ff5730 (patch)
tree0de99958d0a27b79843a4d0f73c9cc121e1da937 /synapse/storage/persist_events.py
parentMerge pull request #6240 from matrix-org/erikj/split_out_persistence_store (diff)
downloadsynapse-5db03535d587f9a3dc460ad9c015ab6a35ff5730.tar.xz
Add StateGroupStorage interface
Diffstat (limited to 'synapse/storage/persist_events.py')
-rw-r--r--synapse/storage/persist_events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/persist_events.py b/synapse/storage/persist_events.py
index cf66225574..61dfca8fdc 100644
--- a/synapse/storage/persist_events.py
+++ b/synapse/storage/persist_events.py
@@ -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)