mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-06 01:53:16 -06:00
more tests
This commit is contained in:
parent
e5904bd332
commit
24c5ddcced
9 changed files with 407 additions and 28 deletions
|
|
@ -174,7 +174,7 @@ findMarkLoop:
|
|||
// we didn't find it, so we need to make sure it's indexed and prepared and then try again
|
||||
// this can happen when a user asks for really old posts
|
||||
if behindIDMark == nil {
|
||||
if err := t.IndexBehind(behindID, amount); err != nil {
|
||||
if err := t.IndexBehind(behindID, true, amount); err != nil {
|
||||
return nil, fmt.Errorf("GetXBehindID: error indexing behind and including ID %s", behindID)
|
||||
}
|
||||
if err := t.PrepareBehind(behindID, amount); err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue