mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 10:33:11 -06:00
Update the event ordering
This commit is contained in:
parent
9bae393776
commit
ff786c0094
|
|
@ -598,8 +598,8 @@ func (d *Database) UpdateRelations(ctx context.Context, event *gomatrixserverlib
|
|||
}
|
||||
return d.Writer.Do(d.DB, nil, func(txn *sql.Tx) error {
|
||||
_, err := d.Relations.InsertRelation(
|
||||
ctx, txn, event.RoomID(), event.EventID(),
|
||||
content.Relations.EventID, content.Relations.RelationType,
|
||||
ctx, txn, event.RoomID(), content.Relations.EventID,
|
||||
event.EventID(), content.Relations.RelationType,
|
||||
)
|
||||
return err
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue