From 2739680a433660330f74c6083cc190879ce0f3d3 Mon Sep 17 00:00:00 2001 From: Andrew Ferrazzutti Date: Fri, 12 Apr 2024 20:37:51 +0900 Subject: [PATCH] Comment which MSC3266 endpoint is deprecated --- synapse/rest/client/room.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/synapse/rest/client/room.py b/synapse/rest/client/room.py index 8c694f62e44..f0f67a9904a 100644 --- a/synapse/rest/client/room.py +++ b/synapse/rest/client/room.py @@ -1453,10 +1453,12 @@ async def on_GET( class RoomSummaryRestServlet(ResolveRoomIdMixin, RestServlet): PATTERNS = ( + # deprecated endpoint, to be removed re.compile( "^/_matrix/client/unstable/im.nheko.summary" "/rooms/(?P[^/]*)/summary$" ), + # recommended endpoint re.compile( "^/_matrix/client/unstable/im.nheko.summary" "/summary/(?P[^/]*)$"