Clarify error conditions.
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
This commit is contained in:
parent
d399653cab
commit
c79d1ac350
1 changed files with 2 additions and 2 deletions
|
@ -66,8 +66,8 @@ an error response with HTTP status code of 403 and an `errcode` of `M_FORBIDDEN`
|
||||||
It is possible for a resident homeserver (one which receives a `/make_join` /
|
It is possible for a resident homeserver (one which receives a `/make_join` /
|
||||||
`/send_join` request) to not know if the user is in some of the allowed rooms (due
|
`/send_join` request) to not know if the user is in some of the allowed rooms (due
|
||||||
to not participating in them). If the user is not in any of the allowed rooms that
|
to not participating in them). If the user is not in any of the allowed rooms that
|
||||||
are known to the homeserver it should return an error response with HTTP status code
|
are known to the homeserver, and the homeserver is not participating in all listed
|
||||||
of 400 with an `errcode` of `M_UNABLE_TO_AUTHORISE_JOIN`. The joining server should
|
rooms, then it should return an error response with HTTP status code of 400 with an `errcode` of `M_UNABLE_TO_AUTHORISE_JOIN`. The joining server should
|
||||||
attempt to join via another resident homeserver. If the resident homeserver knows
|
attempt to join via another resident homeserver. If the resident homeserver knows
|
||||||
that the user is not in *any* of the allowed rooms it should return an error response
|
that the user is not in *any* of the allowed rooms it should return an error response
|
||||||
with HTTP status code of 403 and an `errcode` of `M_FORBIDDEN`. Note that it is a
|
with HTTP status code of 403 and an `errcode` of `M_FORBIDDEN`. Note that it is a
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue