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

th-downstream
ThibG 6 years ago committed by Eugen Rochko
parent 95d977e51e
commit 8b48543b77

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

Loading…
Cancel
Save