mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-04-01 18:46:16 +02:00
[bugfix] Delete from list timeline on status deletion (#1878)
This commit is contained in:
parent
6f6b8576f0
commit
b0015a3604
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user