summary refs log tree commit diff
path: root/synapse/api/auth.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-12-20 10:32:02 +0000
committerGitHub <noreply@github.com>2019-12-20 10:32:02 +0000
commitfa780e9721c940479a72eed9877ccad4fef78160 (patch)
tree2953c373ed13a1b72d4bb3a827db280c2087870c /synapse/api/auth.py
parentExplode on duplicate delta file names. (#6565) (diff)
downloadsynapse-fa780e9721c940479a72eed9877ccad4fef78160.tar.xz
Change EventContext to use the Storage class (#6564)
Diffstat (limited to 'synapse/api/auth.py')
-rw-r--r--synapse/api/auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py
index 9fd52a8c77..abbc7079a3 100644
--- a/synapse/api/auth.py
+++ b/synapse/api/auth.py
@@ -79,7 +79,7 @@ class Auth(object):
 
     @defer.inlineCallbacks
     def check_from_context(self, room_version, event, context, do_sig_check=True):
-        prev_state_ids = yield context.get_prev_state_ids(self.store)
+        prev_state_ids = yield context.get_prev_state_ids()
         auth_events_ids = yield self.compute_auth_events(
             event, prev_state_ids, for_verification=True
         )