Clarify that the event field of the send_join is only required when performing a restricted join

Signed-off-by: Matthias Ahouansou <matthias@ahouansou.cz>
This commit is contained in:
Matthias Ahouansou 2024-05-31 13:37:10 +01:00
parent a17550648c
commit 4db1d325f3
No known key found for this signature in database
2 changed files with 4 additions and 3 deletions

View file

@ -0,0 +1 @@
Clarify that the `event` field of the `/v2/send_join` response is only required when `join_authorised_via_users_server` was present in the `content` field of the request.

View file

@ -207,9 +207,9 @@ paths:
title: SignedMembershipEvent title: SignedMembershipEvent
x-addedInMatrixVersion: "1.2" x-addedInMatrixVersion: "1.2"
description: |- description: |-
Required if the room version [supports restricted join rules](/rooms/#feature-matrix). The signed Required if the `content` of the event in the request contained the `join_authorised_via_users_server`
copy of the membership event sent to other servers by the resident server, including the resident field. The signed copy of the membership event sent to other servers by the resident server,
server's signature. including the resident server's signature.
servers_in_room: servers_in_room:
type: array type: array
x-addedInMatrixVersion: "1.6" x-addedInMatrixVersion: "1.6"