mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-20 03:25:17 +01:00
Fix issue when encountering reblog of deleted post in feed rebuild (#32001)
This commit is contained in:
parent
378af3a0a0
commit
9bfbba3224
@ -557,7 +557,7 @@ class FeedManager
|
|||||||
arr = crutches[:active_mentions][s.id] || []
|
arr = crutches[:active_mentions][s.id] || []
|
||||||
arr.push(s.account_id)
|
arr.push(s.account_id)
|
||||||
|
|
||||||
if s.reblog?
|
if s.reblog? && s.reblog.present?
|
||||||
arr.push(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 New Issue
Block a user