summary refs log tree commit diff
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2018-08-14 15:48:12 +0100
committerNeil Johnson <neil@matrix.org>2018-08-14 15:48:12 +0100
commit2545993ce430606f76926723898c2de3840da94a (patch)
tree7892dfcdc74f17f36b22da5e8806209a6b302762
parentrename _user_last_seen_monthly_active (diff)
downloadsynapse-2545993ce430606f76926723898c2de3840da94a.tar.xz
make comments clearer
Diffstat (limited to '')
-rw-r--r--synapse/api/auth.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py
index c31c6a6a08..18c73f0549 100644
--- a/synapse/api/auth.py
+++ b/synapse/api/auth.py
@@ -780,7 +780,8 @@ class Auth(object):
         such as monthly active user limiting or global disable flag
 
         Args:
-            user_id(str): If present, checks for presence against existing MAU cohort
+            user_id(str|None): If present, checks for presence against existing
+            MAU cohort
         """
         if self.hs.config.hs_disabled:
             raise AuthError(