about summary refs log tree commit diff
path: root/app/lib/spam_check.rb
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-10-11 22:58:31 +0200
committerGitHub <noreply@github.com>2019-10-11 22:58:31 +0200
commitfbe1de114fca16d63ff651425f69eb534ba013e9 (patch)
treedf71843446850046590aa9eab4bbd29441f0c1aa /app/lib/spam_check.rb
parentc2112c7781d25033a6be016b21c324586108eef3 (diff)
parent10f14784983b6dbd6b2524101500c78160a18483 (diff)
Merge pull request #1236 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/lib/spam_check.rb')
-rw-r--r--app/lib/spam_check.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/spam_check.rb b/app/lib/spam_check.rb
index 235e44230..5b40514fd 100644
--- a/app/lib/spam_check.rb
+++ b/app/lib/spam_check.rb
@@ -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?