diff options
author | Erik Johnston <erik@matrix.org> | 2019-05-20 14:06:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-20 14:06:40 +0100 |
commit | 57ba3451b6c22633c4aaf1bec19e91b66add65cd (patch) | |
tree | 1ffb24e6c61372dc6013fa7828ed8bc665ac2f99 /synapse/api/constants.py | |
parent | Limit UserIds to a length that fits in a state key (#5198) (diff) | |
parent | Newsfile (diff) | |
download | synapse-57ba3451b6c22633c4aaf1bec19e91b66add65cd.tar.xz |
Merge pull request #5209 from matrix-org/erikj/reactions_base
Land basic reaction and edit support.
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 c7bf95b426..28862a1d25 100644 --- a/synapse/api/constants.py +++ b/synapse/api/constants.py @@ -119,3 +119,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" |