diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-05 18:09:29 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-05 18:09:29 +0300 |
commit | 3e6c042eb05e09d88c2bd988cb9ef5f9eba67794 (patch) | |
tree | 81d43b53312b06796dac6e00ef45b22255958dea /app/services/spam | |
parent | c8d44b1e3bd9dd04e5a3724fafd702932d1752be (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/spam')
-rw-r--r-- | app/services/spam/spam_verdict_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/spam/spam_verdict_service.rb b/app/services/spam/spam_verdict_service.rb index 9efe51b43b8..2d4bebc8b2b 100644 --- a/app/services/spam/spam_verdict_service.rb +++ b/app/services/spam/spam_verdict_service.rb @@ -90,7 +90,7 @@ module Spam end def allow_possible_spam? - target.allow_possible_spam?(user) || user.allow_possible_spam? + target.allow_possible_spam?(user) || user.trusted? end def spamcheck_client |