Skip to content

Commit

Permalink
Do not ignore federated reports targetting already-reported accounts (m…
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire authored and hiyuki2578 committed Oct 2, 2019
1 parent 97f0f2a commit 3a247e7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/lib/activitypub/activity/flag.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ def perform
target_statuses_by_account = object_uris.map { |uri| status_from_uri(uri) }.compact.select(&:local?).group_by(&:account_id)

target_accounts.each do |target_account|
next if Report.where(account: @account, target_account: target_account).exists?

target_statuses = target_statuses_by_account[target_account.id]

ReportService.new.call(
Expand Down

0 comments on commit 3a247e7

Please sign in to comment.