[bugfix] Set refetch to true in iterateDescendants (#600)

This commit is contained in:
tobi 2022-05-24 11:00:37 +02:00 committed by GitHub
parent f0c9f4169b
commit 21557c92d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -219,7 +219,7 @@ func (d *deref) iterateDescendants(ctx context.Context, username string, statusI
foundReplies++
// get the remote statusable and put it in the db
_, statusable, err := d.GetRemoteStatus(ctx, username, itemURI, false, false)
_, statusable, err := d.GetRemoteStatus(ctx, username, itemURI, true, false)
if err == nil {
// now iterate descendants of *that* status
if err := d.iterateDescendants(ctx, username, *itemURI, statusable); err != nil {