mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-01 16:42:25 -05:00
tidy + lint
This commit is contained in:
parent
a25e53af4e
commit
f1eb6476f3
6 changed files with 24 additions and 12 deletions
|
|
@ -52,7 +52,6 @@ func (t *timeline) IndexBehind(statusID string, amount int) error {
|
|||
filtered := []*gtsmodel.Status{}
|
||||
offsetStatus := statusID
|
||||
|
||||
fmt.Println("\n\n\nENTERING GRABLOOP\n\n\n")
|
||||
grabloop:
|
||||
for len(filtered) < amount {
|
||||
statuses, err := t.db.GetStatusesWhereFollowing(t.accountID, offsetStatus, "", "", amount, false)
|
||||
|
|
@ -78,7 +77,6 @@ grabloop:
|
|||
offsetStatus = s.ID
|
||||
}
|
||||
}
|
||||
fmt.Println("\n\n\nLEAVING GRABLOOP\n\n\n")
|
||||
|
||||
for _, s := range filtered {
|
||||
if err := t.IndexOne(s.CreatedAt, s.ID); err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue