summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2018-08-02 13:47:19 +0100
committerNeil Johnson <neil@matrix.org>2018-08-02 13:47:19 +0100
commit00f99f74b1b875bb7ac6b0623994cabad4a59cc6 (patch)
treeb35313775288889e35ea69ef2b456513768b8c11 /synapse/api
parentMerge branch 'neilj/mau_tracker' of github.com:matrix-org/synapse into neilj/... (diff)
downloadsynapse-00f99f74b1b875bb7ac6b0623994cabad4a59cc6.tar.xz
insertion into monthly_active_users
Diffstat (limited to 'synapse/api')
-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 5bbbe8e2e7..d8022bcf8e 100644
--- a/synapse/api/auth.py
+++ b/synapse/api/auth.py
@@ -213,7 +213,7 @@ class Auth(object):
                 default=[b""]
             )[0]
             if user and access_token and ip_addr:
-                self.store.insert_client_ip(
+                yield self.store.insert_client_ip(
                     user_id=user.to_string(),
                     access_token=access_token,
                     ip=ip_addr,