mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-01-02 14:08:38 +01:00
Add 404 on make_knock if unknown room ID
This commit is contained in:
parent
8400877574
commit
337c87b949
|
|
@ -417,6 +417,15 @@ This request was invalid, e.g. bad JSON. Example reply:
|
|||
}
|
||||
```
|
||||
|
||||
##### Status code 404:
|
||||
The room is unknown to the remote server. Example reply:
|
||||
```json
|
||||
{
|
||||
"errcode": "M_NOT_FOUND",
|
||||
"error": "Unknown room"
|
||||
}
|
||||
```
|
||||
|
||||
### `PUT /_matrix/federation/v2/send_knock/{roomId}/{eventId}`
|
||||
Submits a signed knock event to the resident homeserver for it to accept into
|
||||
the room's graph. Note that event format may differ between room versions.
|
||||
|
|
|
|||
Loading…
Reference in a new issue