Fix added-in Matrix spec version for report room endpoint (#2028)
See #1938 where they were incorrectly marked as 1.12 instead of 1.13. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
075a98d619
commit
54d872e19b
3 changed files with 3 additions and 2 deletions
1
changelogs/client_server/newsfragments/2028.new
Normal file
1
changelogs/client_server/newsfragments/2028.new
Normal file
|
@ -0,0 +1 @@
|
|||
Add `POST /_matrix/client/v3/rooms/{roomId}/report` as per [MSC4151](https://github.com/matrix-org/matrix-spec-proposals/pull/4151).
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue