summary refs log tree commit diff
path: root/synapse/server_notices/consent_server_notices.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/server_notices/consent_server_notices.py')
-rw-r--r--synapse/server_notices/consent_server_notices.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/server_notices/consent_server_notices.py b/synapse/server_notices/consent_server_notices.py
index e09a25591f..698ca742ed 100644
--- a/synapse/server_notices/consent_server_notices.py
+++ b/synapse/server_notices/consent_server_notices.py
@@ -32,7 +32,7 @@ class ConsentServerNotices:
 
     def __init__(self, hs: "HomeServer"):
         self._server_notices_manager = hs.get_server_notices_manager()
-        self._store = hs.get_datastore()
+        self._store = hs.get_datastores().main
 
         self._users_in_progress: Set[str] = set()