diff options
author | Erik Johnston <erik@matrix.org> | 2015-01-28 16:16:53 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-01-28 16:16:53 +0000 |
commit | 0ef5bfd6a9eaaae14e199997658b3d0006abd854 (patch) | |
tree | 5c0a35bbe563e860673e3fb771306d48bce6392a /synapse/api/constants.py | |
parent | Make it the responsibility of the replication layer to check signature and ha... (diff) | |
download | synapse-0ef5bfd6a9eaaae14e199997658b3d0006abd854.tar.xz |
Start implementing auth conflict res
Diffstat (limited to 'synapse/api/constants.py')
-rw-r--r-- | synapse/api/constants.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py index 7ee6dcc46e..0d3fc629af 100644 --- a/synapse/api/constants.py +++ b/synapse/api/constants.py @@ -74,3 +74,9 @@ class EventTypes(object): Message = "m.room.message" Topic = "m.room.topic" Name = "m.room.name" + + +class RejectedReason(object): + AUTH_ERROR = "auth_error" + REPLACED = "replaced" + NOT_ANCESTOR = "not_ancestor" |