Update kick/ban/unban with basic case

pull/4080/head
Devon Hudson 2 years ago
parent a9fd6fdb39
commit 778164003f
No known key found for this signature in database
GPG Key ID: CD06B18E77F6A628

@ -251,15 +251,40 @@ internally in order to correctly sign future events sent to the room.
##### POST /_matrix/client/v4/rooms/{roomId}/kick
**TODO**
The kick endpoint is extended to return a `pdu` for the client to sign.
200 OK Response:
```
{
pdu: PDU
}
```
**TODO: How to handle external users**
##### POST /_matrix/client/v4/rooms/{roomId}/ban
**TODO**
The ban endpoint is extended to return a `pdu` for the client to sign.
200 OK Response:
```
{
pdu: PDU
}
```
**TODO: How to handle external users**
##### POST /_matrix/client/v4/rooms/{roomId}/unban
**TODO**
The unban endpoint is extended to return a `pdu` for the client to sign.
200 OK Response:
```
{
pdu: PDU
}
```
##### PUT /_matrix/client/v4/rooms/{roomId}/redact/{eventId}/{txnId}

Loading…
Cancel
Save