From b0015a360441c5bd01498d9009caac1afb51a0b3 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Sat, 10 Jun 2023 11:11:54 +0200 Subject: [PATCH] [bugfix] Delete from list timeline on status deletion (#1878) --- internal/processing/fromcommon.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/processing/fromcommon.go b/internal/processing/fromcommon.go index 03ebb1f1a..fcb539087 100644 --- 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) }