add msc4242 fields to RespSendJoin

This commit is contained in:
timedout 2026-02-03 15:45:43 +00:00
commit 941241e7af
No known key found for this signature in database
GPG key ID: 0FA334385D0B689F

View file

@ -292,11 +292,15 @@ type ReqSendKnock struct {
}
type RespSendJoin struct {
AuthChain []PDU `json:"auth_chain"`
AuthChain []PDU `json:"auth_chain,omitempty"`
Event PDU `json:"event"`
MembersOmitted bool `json:"members_omitted"`
ServersInRoom []string `json:"servers_in_room"`
State []PDU `json:"state"`
ServersInRoom []string `json:"servers_in_room,omitempty"`
State []PDU `json:"state,omitempty"`
// MSC4242 fields
StateDag []PDU `json:"state_dag,omitempty"`
PartialStateEventIDs []id.EventID `json:"partial_state_event_ids,omitempty"`
}
type RespSendKnock struct {