summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-05-20 14:52:29 +0100
committerGitHub <noreply@github.com>2019-05-20 14:52:29 +0100
commitedef6d29ae15bf4e0ad96f9797ba56ee9766d253 (patch)
tree73756630082cc6c03accc2127edddda272a41348 /synapse/api
parentMerge pull request #5209 from matrix-org/erikj/reactions_base (diff)
parentNewsfile (diff)
downloadsynapse-edef6d29ae15bf4e0ad96f9797ba56ee9766d253.tar.xz
Merge pull request #5211 from matrix-org/erikj/fixup_reaction_constants
Rename relation types to match MSC
Diffstat (limited to 'synapse/api')
-rw-r--r--synapse/api/constants.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py
index 28862a1d25..6b347b1749 100644
--- a/synapse/api/constants.py
+++ b/synapse/api/constants.py
@@ -125,5 +125,5 @@ class RelationTypes(object):
     """The types of relations known to this server.
     """
     ANNOTATION = "m.annotation"
-    REPLACES = "m.replaces"
-    REFERENCES = "m.references"
+    REPLACE = "m.replace"
+    REFERENCE = "m.reference"