summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2018-08-14 16:40:11 +0000
committerGitHub <noreply@github.com>2018-08-14 16:40:11 +0000
commitaa3220df6ad3292c556ee92d8a13a29fefddb16f (patch)
tree5eaf700425afb2936220eb73ae7c37d270d1f18c /synapse
parentMerge pull request #3670 from matrix-org/neilj/mau_sync_block (diff)
parentfix setup_test_homeserver to be postgres compatible (diff)
downloadsynapse-aa3220df6ad3292c556ee92d8a13a29fefddb16f.tar.xz
Merge pull request #3692 from matrix-org/neil/fix_postgres_test_initialise_reserved_users
Neil/fix postgres test initialise reserved users
Diffstat (limited to 'synapse')
-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(