mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 23:52:26 -05:00
remove unused field
This commit is contained in:
parent
72fcf8f15f
commit
2300882a83
1 changed files with 0 additions and 3 deletions
3
internal/cache/timeline/status.go
vendored
3
internal/cache/timeline/status.go
vendored
|
|
@ -41,7 +41,6 @@ type StatusMeta struct {
|
||||||
AccountID string
|
AccountID string
|
||||||
BoostOfID string
|
BoostOfID string
|
||||||
BoostOfAccountID string
|
BoostOfAccountID string
|
||||||
Local bool
|
|
||||||
|
|
||||||
// is an internal flag that may be set on
|
// is an internal flag that may be set on
|
||||||
// a StatusMeta object that will prevent
|
// a StatusMeta object that will prevent
|
||||||
|
|
@ -677,7 +676,6 @@ func (t *StatusTimeline) InsertOne(status *gtsmodel.Status, prepared *apimodel.S
|
||||||
AccountID: status.AccountID,
|
AccountID: status.AccountID,
|
||||||
BoostOfID: status.BoostOfID,
|
BoostOfID: status.BoostOfID,
|
||||||
BoostOfAccountID: status.BoostOfAccountID,
|
BoostOfAccountID: status.BoostOfAccountID,
|
||||||
Local: *status.Local,
|
|
||||||
repeatBoost: repeatBoost,
|
repeatBoost: repeatBoost,
|
||||||
loaded: nil,
|
loaded: nil,
|
||||||
prepared: prepared,
|
prepared: prepared,
|
||||||
|
|
@ -937,7 +935,6 @@ func toStatusMeta(statuses []*gtsmodel.Status) []*StatusMeta {
|
||||||
AccountID: s.AccountID,
|
AccountID: s.AccountID,
|
||||||
BoostOfID: s.BoostOfID,
|
BoostOfID: s.BoostOfID,
|
||||||
BoostOfAccountID: s.BoostOfAccountID,
|
BoostOfAccountID: s.BoostOfAccountID,
|
||||||
Local: *s.Local,
|
|
||||||
loaded: s,
|
loaded: s,
|
||||||
prepared: nil,
|
prepared: nil,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue