diff options
author | Erik Johnston <erik@matrix.org> | 2019-05-16 09:34:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-16 09:34:12 +0100 |
commit | f201a30244db6369db80169be3258fa3c1f36150 (patch) | |
tree | dee49724772693585e4cb3ef2324e86ab00aaedd /synapse/api/constants.py | |
parent | Merge branch 'erikj/refactor_pagination_bounds' into erikj/reactions_base (diff) | |
parent | Actually check for None rather falsey (diff) | |
download | synapse-f201a30244db6369db80169be3258fa3c1f36150.tar.xz |
Merge pull request #5186 from matrix-org/erikj/simple_pagination
Add simple relations API
Diffstat (limited to 'synapse/api/constants.py')
-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" |