Skip to content

Commit

Permalink
Make it clear that this is not an admin API of some kind.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnuxie committed Sep 18, 2024
1 parent 8f238c7 commit f01e5a6
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions proposals/4194-user-redaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ redaction flow.
### Redacting a user's events

A new endpoint is introduced into the client-server spec.
The endpoint is introduced with the intention to allow convenient and
quick bulk redaction of spam events for room moderators. Who may not
necessarily have administrative privileges on their homeserver, and
will also need to redact messages from remote users.

`POST /_matrix/client/v1/rooms/{roomID}/redact/user/{userID}`

Expand All @@ -74,11 +78,6 @@ is employed. We expect that for now, most implementations will
issue one `m.room.redaction` event for each event under
the scope of the request. Sent by the requesting user.

The action of redacting the events that are determined to be within
the scope of the request should be seen as an atomic operation from
the perspective of the client, regardless of whether multiple
`m.room.redaction` events are issued by the server.

#### Rate limiting

This endpoint SHOULD be rate limited, but the number `m.room.redaction`
Expand Down

0 comments on commit f01e5a6

Please sign in to comment.