Skip to content
Snippets Groups Projects
Commit 6984396b authored by ThibG's avatar ThibG Committed by Eugen Rochko
Browse files

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

parent 485dc7d5
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment