mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-25 02:35:57 +03: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