This website works better with JavaScript.
Home
Explore
Help
Sign In
abunchtell
/
mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Activity
Browse Source
Ensure only toots from the reported users are reported (
#8916
)
master
ThibG
5 years ago
committed by
Eugen Rochko
parent
09d789e79b
commit
25744d43b0
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
Statu
s.find(status_ids).pluck(:id)
reported_account.statuse
s.find(status_ids).pluck(:id)
end
def status_ids
Write
Preview
Loading…
Cancel
Save