mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 02:43:45 +01:00
Clarify that MSC4151 is enabled on matrix.org (#17296)
This clarifies in the comments that the MSC is being used in matrix.org See #17270
This commit is contained in:
parent
f1c4dfb08b
commit
5db3eec5bc
2 changed files with 10 additions and 1 deletions
1
changelog.d/17296.feature
Normal file
1
changelog.d/17296.feature
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Add support for the unstable [MSC4151](https://github.com/matrix-org/matrix-spec-proposals/pull/4151) report room API.
|
|
@ -107,7 +107,15 @@ class ReportEventRestServlet(RestServlet):
|
||||||
|
|
||||||
|
|
||||||
class ReportRoomRestServlet(RestServlet):
|
class ReportRoomRestServlet(RestServlet):
|
||||||
# https://github.com/matrix-org/matrix-spec-proposals/pull/4151
|
"""This endpoint lets clients report a room for abuse.
|
||||||
|
|
||||||
|
Whilst MSC4151 is not yet merged, this unstable endpoint is enabled on matrix.org
|
||||||
|
for content moderation purposes, and therefore backwards compatibility should be
|
||||||
|
carefully considered when changing anything on this endpoint.
|
||||||
|
|
||||||
|
More details on the MSC: https://github.com/matrix-org/matrix-spec-proposals/pull/4151
|
||||||
|
"""
|
||||||
|
|
||||||
PATTERNS = client_patterns(
|
PATTERNS = client_patterns(
|
||||||
"/org.matrix.msc4151/rooms/(?P<room_id>[^/]*)/report$",
|
"/org.matrix.msc4151/rooms/(?P<room_id>[^/]*)/report$",
|
||||||
releases=[],
|
releases=[],
|
||||||
|
|
Loading…
Reference in a new issue