Skip to content

Commit 0aa17cd

Browse files
committed
Revert "Include replies to list owner and replies to list members in list statuses (mastodon#9324)"
This reverts commit 466e3d7.
1 parent 6960cc5 commit 0aa17cd

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

app/lib/feed_manager.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,7 @@ def unpush_from_home(account, status)
4040
end
4141

4242
def push_to_list(list, status)
43-
if status.reply? && status.in_reply_to_account_id != status.account_id
44-
should_filter = status.in_reply_to_account_id != list.account_id
45-
should_filter &&= !ListAccount.where(list_id: list.id, account_id: status.in_reply_to_account_id).exists?
46-
return false if should_filter
47-
end
43+
return false if status.reply? && status.in_reply_to_account_id != status.account_id
4844
return false unless add_to_feed(:list, list.id, status)
4945
trim(:list, list.id)
5046
PushUpdateWorker.perform_async(list.account_id, status.id, "timeline:list:#{list.id}") if push_update_required?("timeline:list:#{list.id}")

0 commit comments

Comments
 (0)