summary refs log tree commit diff
path: root/synapse/storage/registration.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-08-07 11:52:21 +0100
committerErik Johnston <erik@matrix.org>2015-08-07 18:32:47 +0100
commit20addfa358e4f72b9f0c25d48c1e3ecfc08a68b2 (patch)
treee3a9258764f03f3c1d720495910e78dd0c3b6c3b /synapse/storage/registration.py
parentDocs (diff)
downloadsynapse-20addfa358e4f72b9f0c25d48c1e3ecfc08a68b2.tar.xz
Change Cache to not use *args in its interface
Diffstat (limited to 'synapse/storage/registration.py')
-rw-r--r--synapse/storage/registration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/registration.py b/synapse/storage/registration.py
index 90e2606be2..4eaa088b36 100644
--- a/synapse/storage/registration.py
+++ b/synapse/storage/registration.py
@@ -131,7 +131,7 @@ class RegistrationStore(SQLBaseStore):
             user_id
         )
         for r in rows:
-            self.get_user_by_token.invalidate(r)
+            self.get_user_by_token.invalidate((r,))
 
     @cached()
     def get_user_by_token(self, token):