Browse Source

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

pull/4/head
ThibG 5 years ago
committed by Eugen Rochko
parent
commit
25744d43b0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/api/v1/reports_controller.rb

+ 1
- 1
app/controllers/api/v1/reports_controller.rb View File

@ -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