From fddfd3a69ca1a2b4063bdf29126dca5e79356d03 Mon Sep 17 00:00:00 2001 From: timedout Date: Tue, 3 Feb 2026 15:33:55 +0000 Subject: [PATCH] add state_dag parameter to GetMissingEvents --- federation/client.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/federation/client.go b/federation/client.go index 183fb5d1..3e590e1b 100644 --- a/federation/client.go +++ b/federation/client.go @@ -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 {