Fix issue when encountering reblog of deleted post in feed rebuild (#32001)
This commit is contained in:
parent
2c1d3f9357
commit
d2d0692232
1 changed files with 2 additions and 2 deletions
|
@ -535,8 +535,8 @@ class FeedManager
|
||||||
arr = crutches[:active_mentions][s.id] || []
|
arr = crutches[:active_mentions][s.id] || []
|
||||||
arr.concat([s.account_id])
|
arr.concat([s.account_id])
|
||||||
|
|
||||||
if s.reblog?
|
if s.reblog? && s.reblog.present?
|
||||||
arr.concat([s.reblog.account_id])
|
arr.push(s.reblog.account_id)
|
||||||
arr.concat(crutches[:active_mentions][s.reblog_of_id] || [])
|
arr.concat(crutches[:active_mentions][s.reblog_of_id] || [])
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue