File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1+ Add support for the unstable [MSC4151](https://github.com/matrix-org/matrix-spec-proposals/pull/4151) report room API.
Original file line number Diff line number Diff line change @@ -107,7 +107,15 @@ async def on_POST(
107107
108108
109109class ReportRoomRestServlet (RestServlet ):
110- # https://github.com/matrix-org/matrix-spec-proposals/pull/4151
110+ """This endpoint lets clients report a room for abuse.
111+
112+ Whilst MSC4151 is not yet merged, this unstable endpoint is enabled on matrix.org
113+ for content moderation purposes, and therefore backwards compatibility should be
114+ carefully considered when changing anything on this endpoint.
115+
116+ More details on the MSC: https://github.com/matrix-org/matrix-spec-proposals/pull/4151
117+ """
118+
111119 PATTERNS = client_patterns (
112120 "/org.matrix.msc4151/rooms/(?P<room_id>[^/]*)/report$" ,
113121 releases = [],
You can’t perform that action at this time.
0 commit comments