Compare commits

..

1 commit

Author SHA1 Message Date
Victor Dyotte da7dd8d5c3
Merge c8fb4c17f1 into 095663f5cc 2024-09-29 00:34:24 +03:00

View file

@ -516,12 +516,10 @@ func (d *Dereferencer) enrichStatus(
latestStatus.ID = status.ID latestStatus.ID = status.ID
} }
// Set latest fetch time and carry- // Carry-over values and set fetch time.
// over some values from "old" status.
latestStatus.FetchedAt = time.Now()
latestStatus.UpdatedAt = status.UpdatedAt latestStatus.UpdatedAt = status.UpdatedAt
latestStatus.FetchedAt = time.Now()
latestStatus.Local = status.Local latestStatus.Local = status.Local
latestStatus.PinnedAt = status.PinnedAt
// Carry-over approvals. Remote instances might not yet // Carry-over approvals. Remote instances might not yet
// serve statuses with the `approved_by` field, but we // serve statuses with the `approved_by` field, but we