mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
add state_dag parameter to GetMissingEvents
This commit is contained in:
parent
5e548d881a
commit
fddfd3a69c
1 changed files with 7 additions and 6 deletions
|
|
@ -131,12 +131,13 @@ func (c *Client) Backfill(ctx context.Context, req *ReqBackfill) (resp *RespBack
|
|||
}
|
||||
|
||||
type ReqGetMissingEvents struct {
|
||||
ServerName string `json:"-"`
|
||||
RoomID id.RoomID `json:"-"`
|
||||
EarliestEvents []id.EventID `json:"earliest_events"`
|
||||
LatestEvents []id.EventID `json:"latest_events"`
|
||||
Limit int `json:"limit,omitempty"`
|
||||
MinDepth int `json:"min_depth,omitempty"`
|
||||
ServerName string `json:"-"`
|
||||
RoomID id.RoomID `json:"-"`
|
||||
EarliestEvents []id.EventID `json:"earliest_events"`
|
||||
LatestEvents []id.EventID `json:"latest_events"`
|
||||
Limit int `json:"limit,omitempty"`
|
||||
MinDepth int `json:"min_depth,omitempty"`
|
||||
UnstableStateDag bool `json:"org.matrix.msc4242.state_dag,omitempty"`
|
||||
}
|
||||
|
||||
type RespGetMissingEvents struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue