Add an empty body

This commit is contained in:
Neil Alexander 2022-09-14 11:22:00 +01:00
parent 19e0ce855d
commit 07df8fdd42
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -303,9 +303,10 @@ func (r *Admin) PerformAdminDownloadState(
}
builder := &gomatrixserverlib.EventBuilder{
Type: "org.matrix.dendrite.state_download",
Sender: req.UserID,
RoomID: req.RoomID,
Type: "org.matrix.dendrite.state_download",
Sender: req.UserID,
RoomID: req.RoomID,
Content: gomatrixserverlib.RawJSON("{}"),
}
eventsNeeded, err := gomatrixserverlib.StateNeededForEventBuilder(builder)