summary refs log tree commit diff
path: root/synapse/rest/client/relations.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2022-04-07 07:08:23 -0400
committerGitHub <noreply@github.com>2022-04-07 07:08:23 -0400
commit0bcb651b3f2b0b6e33649e118f859fc72bc15659 (patch)
tree2e10ed29293ce7331c2d30a04b4565cd714de2b8 /synapse/rest/client/relations.py
parentClarify that we mark as outliers because we don't have any state for them (#1... (diff)
downloadsynapse-0bcb651b3f2b0b6e33649e118f859fc72bc15659.tar.xz
Support the v1 endpoint for `/relations`. (#12403)
Now that MSC2675 has passed FCP and the implementation is
compliant with the final version.
Diffstat (limited to 'synapse/rest/client/relations.py')
-rw-r--r--synapse/rest/client/relations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/relations.py b/synapse/rest/client/relations.py
index 55c96a2af3..3cae6d2b55 100644
--- a/synapse/rest/client/relations.py
+++ b/synapse/rest/client/relations.py
@@ -35,7 +35,7 @@ class RelationPaginationServlet(RestServlet):
     PATTERNS = client_patterns(
         "/rooms/(?P<room_id>[^/]*)/relations/(?P<parent_id>[^/]*)"
         "(/(?P<relation_type>[^/]*)(/(?P<event_type>[^/]*))?)?$",
-        releases=(),
+        releases=("v1",),
     )
 
     def __init__(self, hs: "HomeServer"):