Clarify when an event is returned from /send_join. (#1840)

pull/1506/merge
Patrick Cloke 5 months ago committed by GitHub
parent acec09f567
commit a7a7eadf2c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1 +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. Clarify that the `event` field of the `/v2/send_join` response is only required when the event is signed by the resident server.

@ -0,0 +1 @@
Clarify that the `event` field of the `/v2/send_join` response is only required when the event is signed by the resident server.

@ -207,9 +207,9 @@ paths:
title: SignedMembershipEvent title: SignedMembershipEvent
x-addedInMatrixVersion: "1.2" x-addedInMatrixVersion: "1.2"
description: |- description: |-
Required if the `content` of the event in the request contained the `join_authorised_via_users_server` The membership event sent to other servers by the resident server including a signature
field. The signed copy of the membership event sent to other servers by the resident server, from the resident server. Required if the room is [restricted](/client-server-api/#restricted-rooms)
including the resident server's signature. and the joining user is authorised by one of the conditions.
servers_in_room: servers_in_room:
type: array type: array
x-addedInMatrixVersion: "1.6" x-addedInMatrixVersion: "1.6"

Loading…
Cancel
Save