summary refs log tree commit diff
path: root/synapse/storage/monthly_active_users.py
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2018-08-14 16:55:28 +0100
committerNeil Johnson <neil@matrix.org>2018-08-14 16:55:28 +0100
commit9ecbaf8ba8b12537862e3045a650fffd438ba8a5 (patch)
treee50e70819e29ab9030176579d9f377f6a66df5eb /synapse/storage/monthly_active_users.py
parentin case max_mau is less than I think (diff)
downloadsynapse-9ecbaf8ba8b12537862e3045a650fffd438ba8a5.tar.xz
adding missing yield
Diffstat (limited to 'synapse/storage/monthly_active_users.py')
-rw-r--r--synapse/storage/monthly_active_users.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/monthly_active_users.py b/synapse/storage/monthly_active_users.py
index 7b36accdb6..7e417f811e 100644
--- a/synapse/storage/monthly_active_users.py
+++ b/synapse/storage/monthly_active_users.py
@@ -46,7 +46,7 @@ class MonthlyActiveUsersStore(SQLBaseStore):
                 tp["medium"], tp["address"]
             )
             if user_id:
-                self.upsert_monthly_active_user(user_id)
+                yield self.upsert_monthly_active_user(user_id)
                 reserved_user_list.append(user_id)
             else:
                 logger.warning(