commit b0015a360441c5bd01498d9009caac1afb51a0b3 parent 6f6b8576f025434410e0c049a2971e20e29f108f Author: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Sat, 10 Jun 2023 11:11:54 +0200 [bugfix] Delete from list timeline on status deletion (#1878) Diffstat:
M | internal/processing/fromcommon.go | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/internal/processing/fromcommon.go b/internal/processing/fromcommon.go @@ -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) }