Skip to content

Commit

Permalink
Clarify that the event field of the send_join is only required when p…
Browse files Browse the repository at this point in the history
…erforming a restricted join (#1834)
  • Loading branch information
Kladki authored Jun 3, 2024
1 parent a175506 commit 7ff785f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions changelogs/server_server/newsfragments/1834.clarification
Original file line number Diff line number Diff line change
@@ -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.
6 changes: 3 additions & 3 deletions data/api/server-server/joins-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,9 @@ paths:
title: SignedMembershipEvent
x-addedInMatrixVersion: "1.2"
description: |-
Required if the room version [supports restricted join rules](/rooms/#feature-matrix). The signed
copy of the membership event sent to other servers by the resident server, including the resident
server's signature.
Required if the `content` of the event in the request contained the `join_authorised_via_users_server`
field. The signed copy of the membership event sent to other servers by the resident server,
including the resident server's signature.
servers_in_room:
type: array
x-addedInMatrixVersion: "1.6"
Expand Down

0 comments on commit 7ff785f

Please sign in to comment.