about summary refs log tree commit diff
path: root/app/lib/feed_manager.rb
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-07-21 14:03:53 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:44:01 -0500
commit66cce37e1f0232a57335923ffced8ef2e4952603 (patch)
treedb68f7a4187814cead995ace37fadec66bd5ba15 /app/lib/feed_manager.rb
parent627d9831cf64140f0092ff71b49b6e2f81e2b45b (diff)
[Filtering] Do not include own posts in list timelines
Diffstat (limited to 'app/lib/feed_manager.rb')
-rw-r--r--app/lib/feed_manager.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/lib/feed_manager.rb b/app/lib/feed_manager.rb
index 80f1f8926..2a835668b 100644
--- a/app/lib/feed_manager.rb
+++ b/app/lib/feed_manager.rb
@@ -51,6 +51,7 @@ class FeedManager
   def push_to_list(list, status)
     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 &&= status.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?)
       return false if should_filter