Ensure only toots from the reported users are reported (#8916)

signup-info-prompt
ThibG 2018-10-07 19:45:40 +02:00 committed by Eugen Rochko
parent 09d789e79b
commit 25744d43b0
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ class Api::V1::ReportsController < Api::BaseController
private private
def reported_status_ids def reported_status_ids
Status.find(status_ids).pluck(:id) reported_account.statuses.find(status_ids).pluck(:id)
end end
def status_ids def status_ids