summary refs log tree commit diff
path: root/synapse/storage/registration.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-08-10 13:47:45 +0100
committerErik Johnston <erik@matrix.org>2015-08-10 13:47:45 +0100
commit8c3a62b5c75920acbbcdcfd889228160c2a60ef5 (patch)
tree33d85a573bceaa38e57d9032b0e0570f38afaf40 /synapse/storage/registration.py
parentMerge pull request #212 from matrix-org/erikj/cache_deferreds (diff)
parentRename keyargs to args in CacheDescriptor (diff)
downloadsynapse-8c3a62b5c75920acbbcdcfd889228160c2a60ef5.tar.xz
Merge pull request #215 from matrix-org/erikj/cache_varargs_interface
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):