summary refs log tree commit diff
path: root/synapse/api/auth.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-05-01 13:14:05 +0100
committerErik Johnston <erik@matrix.org>2015-05-01 13:14:05 +0100
commit80b4119279b9c31331cf85331d14bfbac1f54145 (patch)
tree15b4874813000d01a4946a7c2e0893f640fa742f /synapse/api/auth.py
parentCache latest_event_ids_in_room (diff)
downloadsynapse-80b4119279b9c31331cf85331d14bfbac1f54145.tar.xz
Don't wait for storage of access_token
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 77322a5c10..beafa51662 100644
--- a/synapse/api/auth.py
+++ b/synapse/api/auth.py
@@ -360,7 +360,7 @@ class Auth(object):
                 default=[""]
             )[0]
             if user and access_token and ip_addr:
-                yield self.store.insert_client_ip(
+                self.store.insert_client_ip(
                     user=user,
                     access_token=access_token,
                     device_id=user_info["device_id"],