|
|
@ -59,9 +59,9 @@ an invite are rejected.
|
|
|
|
|
|
|
|
|
|
|
|
When an homeserver receives a `/join` request from a client or a `/make_join` /
|
|
|
|
When an homeserver receives a `/join` request from a client or a `/make_join` /
|
|
|
|
`/send_join` request from another homeserver, the request should only be permitted
|
|
|
|
`/send_join` request from another homeserver, the request should only be permitted
|
|
|
|
if the user is invited to this room, or is joined to one of the listed rooms. If the user is
|
|
|
|
if the user is invited to this room, or is joined to one of the listed rooms. If
|
|
|
|
not a member of at least one of the rooms, the homeserver should return an error
|
|
|
|
the user is not a member of at least one of the rooms, the homeserver should return
|
|
|
|
response with HTTP status code of 403 and an `errcode` of `M_FORBIDDEN`.
|
|
|
|
an error response with HTTP status code of 403 and an `errcode` of `M_FORBIDDEN`.
|
|
|
|
|
|
|
|
|
|
|
|
It is possible for a homeserver receiving a `/make_join` / `/send_join` request
|
|
|
|
It is possible for a homeserver receiving a `/make_join` / `/send_join` request
|
|
|
|
to not know if the user is in some of the allowed rooms (due to not participating
|
|
|
|
to not know if the user is in some of the allowed rooms (due to not participating
|
|
|
|