Stops feed regen task from crashing

This commit is contained in:
David Underwood 2019-10-08 20:02:18 -04:00
parent bfd29a34eb
commit 77565306fe

View File

@ -133,7 +133,7 @@ class FeedManager
break if statuses.empty? break if statuses.empty?
statuses.each do |status| statuses.each do |status|
next if filter_from_home?(status, account) next if filter_from_home?(status, account.id)
added += 1 if add_to_feed(:home, account.id, status, account.user&.aggregates_reblogs?) added += 1 if add_to_feed(:home, account.id, status, account.user&.aggregates_reblogs?)
end end