Clarify that the event field of the send_join is only required when performing a restricted join (#1834)

This commit is contained in:
Matthias Ahouansou 2024-06-03 13:09:40 +00:00 committed by GitHub
parent a17550648c
commit 7ff785fc38
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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"