Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix added-in Matrix spec version for report room endpoint #2028

Merged
merged 2 commits into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/2028.new
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add `POST /_matrix/client/v3/rooms/{roomId}/report` as per [MSC4151](https://github.com/matrix-org/matrix-spec-proposals/pull/4151).
2 changes: 1 addition & 1 deletion content/client-server-api/modules/report_content.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ be legitimate.
verify that the reporting user is currently joined to the room the event
is in before accepting a report.

{{% added-in v="1.12" %}} Contrarily, servers MUST NOT restrict room reports
{{% added-in v="1.13" %}} Contrarily, servers MUST NOT restrict room reports
based on whether or not the reporting user is joined to the room. This is
because users can be exposed to harmful content without being joined to a
room. For instance, through room directories or invites.
2 changes: 1 addition & 1 deletion data/api/client-server/report_content.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ info:
paths:
"/rooms/{roomId}/report":
post:
x-addedInMatrixVersion: "1.12"
x-addedInMatrixVersion: "1.13"
summary: Report a room as inappropriate.
description: |-
Reports a room as inappropriate to the server, which may then notify
Expand Down
Loading