mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-12 17:33:09 -06:00
Add missing prev_state field
This commit is contained in:
parent
af08eea46d
commit
75b86d83b0
|
|
@ -61,6 +61,8 @@ type EventBuilder struct {
|
||||||
StateKey *string `json:"state_key,omitempty"`
|
StateKey *string `json:"state_key,omitempty"`
|
||||||
// The events that immediately preceded this event in the room history.
|
// The events that immediately preceded this event in the room history.
|
||||||
PrevEvents []EventReference `json:"prev_events"`
|
PrevEvents []EventReference `json:"prev_events"`
|
||||||
|
// TODO: A deprecated, empty but yet still expected key.
|
||||||
|
PrevState string `json:"prev_state"`
|
||||||
// The events needed to authenticate this event.
|
// The events needed to authenticate this event.
|
||||||
AuthEvents []EventReference `json:"auth_events"`
|
AuthEvents []EventReference `json:"auth_events"`
|
||||||
// The event ID of the event being redacted if this event is a "m.room.redaction".
|
// The event ID of the event being redacted if this event is a "m.room.redaction".
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue