diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-12-01 07:25:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-01 07:25:58 -0500 |
commit | a265fbd397ae72b2d3ea4c9310591ff1d0f3e05c (patch) | |
tree | 5a0e7d594faeac294e1ae1557fc21505a7747d87 /synapse/rest/client/room.py | |
parent | Update openid.md (diff) | |
download | synapse-a265fbd397ae72b2d3ea4c9310591ff1d0f3e05c.tar.xz |
Register the login redirect endpoint for v3. (#11451)
As specified for Matrix v1.1.
Diffstat (limited to 'synapse/rest/client/room.py')
-rw-r--r-- | synapse/rest/client/room.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/rest/client/room.py b/synapse/rest/client/room.py index 73d0f7c950..99f303c88e 100644 --- a/synapse/rest/client/room.py +++ b/synapse/rest/client/room.py @@ -1138,12 +1138,12 @@ class RoomSpaceSummaryRestServlet(RestServlet): class RoomHierarchyRestServlet(RestServlet): - PATTERNS = [ + PATTERNS = ( re.compile( "^/_matrix/client/(v1|unstable/org.matrix.msc2946)" "/rooms/(?P<room_id>[^/]*)/hierarchy$" ), - ] + ) def __init__(self, hs: "HomeServer"): super().__init__() |