From 77565306fe78b7a4e3279dbee0b165103e9f5e29 Mon Sep 17 00:00:00 2001 From: David Underwood Date: Tue, 8 Oct 2019 20:02:18 -0400 Subject: [PATCH] Stops feed regen task from crashing --- app/lib/feed_manager.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/feed_manager.rb b/app/lib/feed_manager.rb index e60ccb044..095203ab3 100644 --- a/app/lib/feed_manager.rb +++ b/app/lib/feed_manager.rb @@ -133,7 +133,7 @@ class FeedManager break if statuses.empty? 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?) end