summary refs log tree commit diff
path: root/synapse/rest/client
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2022-05-26 07:10:28 -0400
committerGitHub <noreply@github.com>2022-05-26 07:10:28 -0400
commit1885ee011395f9c1f121f8045ac6d47a74c4cc24 (patch)
tree360ee79ca623b32883d1b05cd43c6466e207a8f6 /synapse/rest/client
parentAvoid attempting to delete push actions for remote users. (#12879) (diff)
downloadsynapse-1885ee011395f9c1f121f8045ac6d47a74c4cc24.tar.xz
Remove unstable APIs for /hierarchy. (#12851)
Removes the unstable endpoint as well as a duplicated field
which was modified during stabilization.
Diffstat (limited to 'synapse/rest/client')
-rw-r--r--synapse/rest/client/room.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/synapse/rest/client/room.py b/synapse/rest/client/room.py
index 5a2361a2e6..7a5ce8ad0e 100644
--- a/synapse/rest/client/room.py
+++ b/synapse/rest/client/room.py
@@ -1193,12 +1193,7 @@ class TimestampLookupRestServlet(RestServlet):
 
 
 class RoomHierarchyRestServlet(RestServlet):
-    PATTERNS = (
-        re.compile(
-            "^/_matrix/client/(v1|unstable/org.matrix.msc2946)"
-            "/rooms/(?P<room_id>[^/]*)/hierarchy$"
-        ),
-    )
+    PATTERNS = (re.compile("^/_matrix/client/v1/rooms/(?P<room_id>[^/]*)/hierarchy$"),)
 
     def __init__(self, hs: "HomeServer"):
         super().__init__()