Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kmycode committed Sep 10, 2023
1 parent 979292d commit 75b39e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/process_mentions_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def mention_undeliverable?(mentioned_account)
def process_mutual!
mentioned_account_ids = @current_mentions.map(&:account_id)

@status.account.mutuals.find_each do |target_account|
@status.account.mutuals.reorder(nil).find_each do |target_account|
@current_mentions << @status.mentions.new(silent: true, account: target_account) unless mentioned_account_ids.include?(target_account.id)
end
end
Expand Down

0 comments on commit 75b39e5

Please sign in to comment.