diff options
author | Daniel Wagner-Hall <daniel@matrix.org> | 2016-01-15 16:27:26 +0000 |
---|---|---|
committer | review.rocks <nobody@review.rocks> | 2016-01-15 16:27:26 +0000 |
commit | ac5a4477adc772e4416c868e8b16ae41a2c0c4ef (patch) | |
tree | a280a81a343ec93900470c7f6ebf3280161ed7d2 /synapse/api/errors.py | |
parent | Merge pull request #500 from matrix-org/daniel/cleanup (diff) | |
download | synapse-ac5a4477adc772e4416c868e8b16ae41a2c0c4ef.tar.xz |
Require unbanning before other membership changes
Diffstat (limited to 'synapse/api/errors.py')
-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 ce0fc53668..b106fbed6d 100644 --- a/synapse/api/errors.py +++ b/synapse/api/errors.py @@ -29,6 +29,7 @@ class Codes(object): USER_IN_USE = "M_USER_IN_USE" ROOM_IN_USE = "M_ROOM_IN_USE" BAD_PAGINATION = "M_BAD_PAGINATION" + BAD_STATE = "M_BAD_STATE" UNKNOWN = "M_UNKNOWN" NOT_FOUND = "M_NOT_FOUND" MISSING_TOKEN = "M_MISSING_TOKEN" |