diff options
Diffstat (limited to 'synapse/api')
-rw-r--r-- | synapse/api/auth.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py index 6502a6be7b..3d8e7ae5de 100644 --- a/synapse/api/auth.py +++ b/synapse/api/auth.py @@ -793,8 +793,8 @@ class Auth(object): if self.hs.config.limit_usage_by_mau is True: # If the user is already part of the MAU cohort if user_id: - timestamp = yield self.store.user_last_seen_monthly_active(user_id) - if timestamp: + activity = yield self.store.user_last_seen_monthly_active(user_id) + if activity: return # Else if there is no room in the MAU bucket, bail current_mau = yield self.store.get_monthly_active_count() |