Skip to content

Commit e9a463d

Browse files
uhoregclokep
andauthored
Send heroes for nameless rooms on send_join (#1425)
Co-authored-by: Patrick Cloke <[email protected]>
1 parent 5c485ad commit e9a463d

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Note that `/_matrix/federation/v2/send_join` should include heroes for nameless rooms, even when allowed to omit membership events, per [MSC3943](https://github.com/matrix-org/matrix-doc/pull/3943).

data/api/server-server/joins-v2.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,16 @@ paths:
7272
If `true`, indicates that that calling server can accept a reduced
7373
response, in which membership events are omitted from `state` and
7474
redundant events are omitted from `auth_chain`.
75+
76+
If the room to be joined has no `m.room.name` nor
77+
`m.room.canonical_alias` events in its current state, the resident
78+
server should determine the room members who would be included in
79+
the `m.heroes` property of the room summary as defined in the
80+
[Client-Server /sync
81+
response](/client-server-api/#get_matrixclientv3sync). The resident
82+
server should include these members' membership events in the
83+
response `state` field, and include the auth chains for these
84+
membership events in the response `auth_chain` field.
7585
x-addedInMatrixVersion: "1.6"
7686
- in: body
7787
name: body

0 commit comments

Comments
 (0)