mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-10-31 22:40:01 +00:00
[bugfix] Delete from list timeline on status deletion (#1878)
This commit is contained in:
parent
6f6b8576f0
commit
b0015a3604
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue