summary refs log tree commit diff
path: root/synapse/handlers/state_deltas.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/handlers/state_deltas.py')
-rw-r--r--synapse/handlers/state_deltas.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/state_deltas.py b/synapse/handlers/state_deltas.py
index d30ba2b724..2d197282ed 100644
--- a/synapse/handlers/state_deltas.py
+++ b/synapse/handlers/state_deltas.py
@@ -30,7 +30,7 @@ class MatchChange(Enum):
 
 class StateDeltasHandler:
     def __init__(self, hs: "HomeServer"):
-        self.store = hs.get_datastore()
+        self.store = hs.get_datastores().main
 
     async def _get_key_change(
         self,