Skip to content

Commit

Permalink
Comment which MSC3266 endpoint is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewFerr committed Apr 12, 2024
1 parent 2303e78 commit 2739680
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions synapse/rest/client/room.py
Original file line number Diff line number Diff line change
Expand Up @@ -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<room_identifier>[^/]*)/summary$"
),
# recommended endpoint
re.compile(
"^/_matrix/client/unstable/im.nheko.summary"
"/summary/(?P<room_identifier>[^/]*)$"
Expand Down

0 comments on commit 2739680

Please sign in to comment.