diff options
author | Erik Johnston <erik@matrix.org> | 2019-05-14 16:59:21 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-05-15 13:36:51 +0100 |
commit | efe3c7977a3dc9c4308388f71e82b837df7d09b4 (patch) | |
tree | 10abb32d069c16dd00224f59dbcd11e185475328 /synapse/api | |
parent | Merge branch 'erikj/refactor_pagination_bounds' into erikj/reactions_base (diff) | |
download | synapse-efe3c7977a3dc9c4308388f71e82b837df7d09b4.tar.xz |
Add simple send_relation API and track in DB
Diffstat (limited to 'synapse/api')
-rw-r--r-- | synapse/api/constants.py | 8 |
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" |