summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-05-14 16:59:21 +0100
committerErik Johnston <erik@matrix.org>2019-05-15 13:36:51 +0100
commitefe3c7977a3dc9c4308388f71e82b837df7d09b4 (patch)
tree10abb32d069c16dd00224f59dbcd11e185475328 /synapse/api
parentMerge branch 'erikj/refactor_pagination_bounds' into erikj/reactions_base (diff)
downloadsynapse-efe3c7977a3dc9c4308388f71e82b837df7d09b4.tar.xz
Add simple send_relation API and track in DB
Diffstat (limited to 'synapse/api')
-rw-r--r--synapse/api/constants.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py

index 8547a63535..30bebd749f 100644 --- a/synapse/api/constants.py +++ b/synapse/api/constants.py
@@ -116,3 +116,11 @@ class UserTypes(object): """ SUPPORT = "support" ALL_USER_TYPES = (SUPPORT,) + + +class RelationTypes(object): + """The types of relations known to this server. + """ + ANNOTATION = "m.annotation" + REPLACES = "m.replaces" + REFERENCES = "m.references"