summary refs log tree commit diff
path: root/synapse/api/errors.py
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@arasphere.net>2018-01-22 13:57:22 +0000
committerGitHub <noreply@github.com>2018-01-22 13:57:22 +0000
commitd84f65255e770c3fe513ed6418081b4fba264649 (patch)
treed825aad8fc1ea2ae6934ae4b21b25916ef6e8d86 /synapse/api/errors.py
parentMerge pull request #2814 from matrix-org/rav/fix_urlcache_thumbs (diff)
parentfix typo (thanks sytest) (diff)
downloadsynapse-d84f65255e770c3fe513ed6418081b4fba264649.tar.xz
Merge pull request #2813 from matrix-org/matthew/registrations_require_3pid
add registrations_require_3pid and allow_local_3pids
Diffstat (limited to 'synapse/api/errors.py')
-rw-r--r--synapse/api/errors.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/api/errors.py b/synapse/api/errors.py
index 79b35b3e7c..46b0d7b34c 100644
--- a/synapse/api/errors.py
+++ b/synapse/api/errors.py
@@ -46,6 +46,7 @@ class Codes(object):
     THREEPID_AUTH_FAILED = "M_THREEPID_AUTH_FAILED"
     THREEPID_IN_USE = "M_THREEPID_IN_USE"
     THREEPID_NOT_FOUND = "M_THREEPID_NOT_FOUND"
+    THREEPID_DENIED = "M_THREEPID_DENIED"
     INVALID_USERNAME = "M_INVALID_USERNAME"
     SERVER_NOT_TRUSTED = "M_SERVER_NOT_TRUSTED"