Browse Source

Fix issue when encountering reblog of deleted post in feed rebuild (#32001)

dariusk-working/4_3_0
Claire 2 years ago committed by GitHub
parent
commit
7ed9c590b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      app/lib/feed_manager.rb

2
app/lib/feed_manager.rb

@ -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…
Cancel
Save