summary refs log tree commit diff
path: root/synapse/api/constants.py
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2016-08-25 18:34:47 +0100
committerPaul "LeoNerd" Evans <paul@matrix.org>2016-08-25 18:34:47 +0100
commit1294d4a3299faba9b5f09ec6f452dfb2ab9f5e35 (patch)
tree399b50b75d5836d88292425721ac5faa40386a47 /synapse/api/constants.py
parentRoot the 3PE lookup API within /_matrix/app/unstable instead of at toplevel (diff)
downloadsynapse-1294d4a3299faba9b5f09ec6f452dfb2ab9f5e35.tar.xz
Move ThirdPartyEntityKind into api.constants so the expectation becomes that the value is significant
Diffstat (limited to 'synapse/api/constants.py')
-rw-r--r--synapse/api/constants.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py

index 8cf4d6169c..a8123cddcb 100644 --- a/synapse/api/constants.py +++ b/synapse/api/constants.py
@@ -85,3 +85,8 @@ class RoomCreationPreset(object): PRIVATE_CHAT = "private_chat" PUBLIC_CHAT = "public_chat" TRUSTED_PRIVATE_CHAT = "trusted_private_chat" + + +class ThirdPartyEntityKind(object): + USER = "user" + LOCATION = "location"