Allow /make_join
to return a 404 (#2688)
Specify that `GET /_matrix/federation/v1/make_join/{roomId}/{userId}` can return a 404 if the room is unknown.
This commit is contained in:
parent
e207dfc0ea
commit
6da06383e8
2 changed files with 11 additions and 0 deletions
|
@ -162,6 +162,16 @@ paths:
|
|||
"error": "Your homeserver does not support the features required to join this room",
|
||||
"room_version": "3"
|
||||
}
|
||||
404:
|
||||
description: |-
|
||||
The room that the joining server is attempting to join is unknown
|
||||
to the receiving server.
|
||||
examples:
|
||||
application/json: {
|
||||
"errcode": "M_NOT_FOUND",
|
||||
"error": "Unknown room",
|
||||
}
|
||||
|
||||
"/send_join/{roomId}/{eventId}":
|
||||
put:
|
||||
summary: Submit a signed join event to a resident server
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Specify that `GET /_matrix/federation/v1/make_join/{roomId}/{userId}` can return a 404 if the room is unknown.
|
Loading…
Add table
Add a link
Reference in a new issue