summary refs log tree commit diff
path: root/synapse/replication/slave/storage/registration.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-08-15 18:10:54 +0100
committerErik Johnston <erik@matrix.org>2016-08-16 11:24:32 +0100
commita2427981b798eb157d48b4e695a0d025357a2b01 (patch)
tree76f6d76db0c545244beece10e0ef006b44861189 /synapse/replication/slave/storage/registration.py
parentRefactor user_delete_access_tokens. Invalidate get_user_by_access_token to sl... (diff)
downloadsynapse-a2427981b798eb157d48b4e695a0d025357a2b01.tar.xz
Use cached get_user_by_access_token in slaves
Diffstat (limited to 'synapse/replication/slave/storage/registration.py')
-rw-r--r--synapse/replication/slave/storage/registration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/replication/slave/storage/registration.py b/synapse/replication/slave/storage/registration.py
index 307833f9e1..38b78b97fc 100644
--- a/synapse/replication/slave/storage/registration.py
+++ b/synapse/replication/slave/storage/registration.py
@@ -25,6 +25,6 @@ class SlavedRegistrationStore(BaseSlavedStore):
     # TODO: use the cached version and invalidate deleted tokens
     get_user_by_access_token = RegistrationStore.__dict__[
         "get_user_by_access_token"
-    ].orig
+    ]
 
     _query_for_auth = DataStore._query_for_auth.__func__