diff options
author | ThibG <thib@sitedethib.com> | 2019-10-11 22:58:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-11 22:58:31 +0200 |
commit | fbe1de114fca16d63ff651425f69eb534ba013e9 (patch) | |
tree | df71843446850046590aa9eab4bbd29441f0c1aa /app/lib | |
parent | c2112c7781d25033a6be016b21c324586108eef3 (diff) | |
parent | 10f14784983b6dbd6b2524101500c78160a18483 (diff) |
Merge pull request #1236 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/spam_check.rb | 2 |
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? |