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
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment