This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Ensure only toots from the reported users are reported (
#8916
)
pull/4/head
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