[bugfix] Delete from list timeline on status deletion (#1878)

This commit is contained in:
tobi 2023-06-10 11:11:54 +02:00 committed by GitHub
parent 6f6b8576f0
commit b0015a3604
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -444,6 +444,10 @@ func (p *Processor) deleteStatusFromTimelines(ctx context.Context, status *gtsmo
return err
}
if err := p.state.Timelines.List.WipeItemFromAllTimelines(ctx, status.ID); err != nil {
return err
}
return p.stream.Delete(status.ID)
}