From e503d655859a7541141fdf93e65edd10d0340fd3 Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Mon, 21 Sep 2020 19:11:28 -0500 Subject: Include user's filter options when checking list filters --- app/lib/feed_manager.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/lib/feed_manager.rb b/app/lib/feed_manager.rb index 1edf6fb6e..9a0a304e5 100644 --- a/app/lib/feed_manager.rb +++ b/app/lib/feed_manager.rb @@ -182,9 +182,10 @@ class FeedManager statuses = query.to_a crutches = build_crutches(list.account_id, statuses) + filter_options = filter_options_for(list.account.id) statuses.each do |status| - next if filter_from_home?(status, list.account_id, crutches) || filter_from_list?(status, list) + next if filter_from_home?(status, list.account_id, crutches, filter_options) || filter_from_list?(status, list) add_to_feed(:list, list.id, status, aggregate) end -- cgit