mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-22 05:58:07 +01:00
Fix issue when encountering reblog of deleted post in feed rebuild (#32001)
This commit is contained in:
parent
ed8b0e4b1e
commit
7ed9c590b9
1 changed files with 1 additions and 1 deletions
|
@ -558,7 +558,7 @@ class FeedManager
|
|||
arr = crutches[:active_mentions][s.id] || []
|
||||
arr.push(s.account_id)
|
||||
|
||||
if s.reblog?
|
||||
if s.reblog? && s.reblog.present?
|
||||
arr.push(s.reblog.account_id)
|
||||
arr.concat(crutches[:active_mentions][s.reblog_of_id] || [])
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue