mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-26 21:56:39 +00:00
Compare commits
1 commit
cd609896ef
...
da7dd8d5c3
Author | SHA1 | Date | |
---|---|---|---|
da7dd8d5c3 |
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue