Skip to content

Commit

Permalink
[bugfix] Delete from list timeline on status deletion (#1878)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmethurst authored Jun 10, 2023
1 parent 6f6b857 commit b0015a3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/processing/fromcommon.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit b0015a3

Please sign in to comment.