Skip to content

Commit

Permalink
Fix added-in Matrix spec version for report room endpoint
Browse files Browse the repository at this point in the history
Signed-off-by: Kévin Commaille <[email protected]>
  • Loading branch information
zecakeh committed Dec 9, 2024
1 parent 075a98d commit 9ac831a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 9ac831a

Please sign in to comment.