Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
Open sidebar
Tiger Ton
mastodon
Commits
6984396b
Commit
6984396b
authored
6 years ago
by
ThibG
Committed by
Eugen Rochko
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Ensure only toots from the reported users are reported (#8916)
parent
485dc7d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/controllers/api/v1/reports_controller.rb
+1
-1
app/controllers/api/v1/reports_controller.rb
with
1 addition
and
1 deletion
+1
-1
app/controllers/api/v1/reports_controller.rb
+
1
-
1
View file @
6984396b
...
...
@@ -27,7 +27,7 @@ class Api::V1::ReportsController < Api::BaseController
private
def
reported_status_ids
S
tatus
.
find
(
status_ids
).
pluck
(
:id
)
reported_account
.
s
tatus
es
.
find
(
status_ids
).
pluck
(
:id
)
end
def
status_ids
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets