mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-08 00:45:00 -04:00
Support the v1 endpoint for /relations
. (#12403)
Now that MSC2675 has passed FCP and the implementation is compliant with the final version.
This commit is contained in:
parent
350062661c
commit
0bcb651b3f
3 changed files with 13 additions and 12 deletions
|
@ -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"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue