mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
add msc4242 fields to RespSendJoin
This commit is contained in:
parent
fddfd3a69c
commit
941241e7af
1 changed files with 7 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue