diff options
author | Neil Johnson <neil@matrix.org> | 2018-08-01 15:58:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-01 15:58:45 +0000 |
commit | 085435e13a837f1b3aed6974d9902111429b895e (patch) | |
tree | c2694ae187b9403c92d565961d387c80d5558100 /synapse/api | |
parent | Merge pull request #3620 from fuzzmz/return-404-room-not-found (diff) | |
parent | count_monthly_users is now async (diff) | |
download | synapse-085435e13a837f1b3aed6974d9902111429b895e.tar.xz |
Merge pull request #3630 from matrix-org/neilj/mau_sign_in_log_in_limits
Initial impl of capping MAU
Diffstat (limited to 'synapse/api')
-rw-r--r-- | synapse/api/errors.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/api/errors.py b/synapse/api/errors.py index 6074df292f..14f5540280 100644 --- a/synapse/api/errors.py +++ b/synapse/api/errors.py @@ -55,6 +55,7 @@ class Codes(object): SERVER_NOT_TRUSTED = "M_SERVER_NOT_TRUSTED" CONSENT_NOT_GIVEN = "M_CONSENT_NOT_GIVEN" CANNOT_LEAVE_SERVER_NOTICE_ROOM = "M_CANNOT_LEAVE_SERVER_NOTICE_ROOM" + MAU_LIMIT_EXCEEDED = "M_MAU_LIMIT_EXCEEDED" class CodeMessageException(RuntimeError): |