Add an empty body
This commit is contained in:
parent
19e0ce855d
commit
07df8fdd42
|
@ -303,9 +303,10 @@ func (r *Admin) PerformAdminDownloadState(
|
||||||
}
|
}
|
||||||
|
|
||||||
builder := &gomatrixserverlib.EventBuilder{
|
builder := &gomatrixserverlib.EventBuilder{
|
||||||
Type: "org.matrix.dendrite.state_download",
|
Type: "org.matrix.dendrite.state_download",
|
||||||
Sender: req.UserID,
|
Sender: req.UserID,
|
||||||
RoomID: req.RoomID,
|
RoomID: req.RoomID,
|
||||||
|
Content: gomatrixserverlib.RawJSON("{}"),
|
||||||
}
|
}
|
||||||
|
|
||||||
eventsNeeded, err := gomatrixserverlib.StateNeededForEventBuilder(builder)
|
eventsNeeded, err := gomatrixserverlib.StateNeededForEventBuilder(builder)
|
||||||
|
|
Loading…
Reference in a new issue