about summary refs log tree commit diff
path: root/app/lib/spam_check.rb
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-10-11 22:41:21 +0200
committerThibaut Girka <thib@sitedethib.com>2019-10-11 22:41:21 +0200
commit10f14784983b6dbd6b2524101500c78160a18483 (patch)
treedf71843446850046590aa9eab4bbd29441f0c1aa /app/lib/spam_check.rb
parentc2112c7781d25033a6be016b21c324586108eef3 (diff)
parentc4118ba71ba31e408c02d289e111326ccc6f6aa2 (diff)
Merge branch 'master' into glitch-soc/merge-upstream
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?