We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6960cc5 commit 0aa17cdCopy full SHA for 0aa17cd
1 file changed
app/lib/feed_manager.rb
@@ -40,11 +40,7 @@ def unpush_from_home(account, status)
40
end
41
42
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
+ return false if status.reply? && status.in_reply_to_account_id != status.account_id
48
return false unless add_to_feed(:list, list.id, status)
49
trim(:list, list.id)
50
PushUpdateWorker.perform_async(list.account_id, status.id, "timeline:list:#{list.id}") if push_update_required?("timeline:list:#{list.id}")
0 commit comments