Skip to content

Commit 3a247e7

Browse files
ClearlyClairehiyuki2578
authored andcommitted
Do not ignore federated reports targetting already-reported accounts (mastodon#9534)
1 parent 97f0f2a commit 3a247e7

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

  • app/lib/activitypub/activity

app/lib/activitypub/activity/flag.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ def perform
88
target_statuses_by_account = object_uris.map { |uri| status_from_uri(uri) }.compact.select(&:local?).group_by(&:account_id)
99

1010
target_accounts.each do |target_account|
11-
next if Report.where(account: @account, target_account: target_account).exists?
12-
1311
target_statuses = target_statuses_by_account[target_account.id]
1412

1513
ReportService.new.call(

0 commit comments

Comments
 (0)