Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
liberty
host
Smilodon
Commits
abc5548c
Commit
abc5548c
authored
Aug 18, 2018
by
ThibG
Committed by
Eugen Rochko
Aug 18, 2018
Browse files
Do not process outgoing mentions to suspended accounts (#8272)
parent
7a0f781a
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/services/process_mentions_service.rb
View file @
abc5548c
...
...
@@ -25,7 +25,7 @@ class ProcessMentionsService < BaseService
end
end
next
match
if
mention_undeliverable?
(
mentioned_account
)
next
match
if
mention_undeliverable?
(
mentioned_account
)
||
mentioned_account
&
.
suspended
mentions
<<
mentioned_account
.
mentions
.
where
(
status:
status
).
first_or_create
(
status:
status
)
...
...
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