about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authortrwnh <a@trwnh.com>2020-12-08 21:34:17 -0600
committerGitHub <noreply@github.com>2020-12-09 04:34:17 +0100
commit127c543a6e59d20de68e6760e952d18ed53578e9 (patch)
tree8abee15c3920ffa56c56e60c353af563ee7e6242 /app/lib
parentf379a52d745dbd765b4ba1fb3133ed6fad3e7c1b (diff)
rename replies_policy enumerables (#15304)
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/feed_manager.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/lib/feed_manager.rb b/app/lib/feed_manager.rb
index 0876d107b..5e01ef67a 100644
--- a/app/lib/feed_manager.rb
+++ b/app/lib/feed_manager.rb
@@ -345,8 +345,8 @@ class FeedManager
   def filter_from_list?(status, list)
     if status.reply? && status.in_reply_to_account_id != status.account_id
       should_filter = status.in_reply_to_account_id != list.account_id
-      should_filter &&= !list.show_all_replies?
-      should_filter &&= !(list.show_list_replies? && ListAccount.where(list_id: list.id, account_id: status.in_reply_to_account_id).exists?)
+      should_filter &&= !list.show_followed?
+      should_filter &&= !(list.show_list? && ListAccount.where(list_id: list.id, account_id: status.in_reply_to_account_id).exists?)
 
       return !!should_filter
     end