Fix auto-report string saying the account has been auto-silenced (#12142)
This commit is contained in:
parent
a57ac0723f
commit
aa509a3d8a
2 changed files with 2 additions and 2 deletions
|
@ -135,7 +135,7 @@ class SpamCheck
|
|||
|
||||
def auto_report_status!
|
||||
status_ids = Status.where(visibility: %i(public unlisted)).where(id: matching_status_ids).pluck(:id) + [@status.id] if @status.distributable?
|
||||
ReportService.new.call(Account.representative, @account, status_ids: status_ids, comment: I18n.t('spam_check.spam_detected_and_silenced'))
|
||||
ReportService.new.call(Account.representative, @account, status_ids: status_ids, comment: I18n.t('spam_check.spam_detected'))
|
||||
end
|
||||
|
||||
def already_flagged?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue