diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-12 03:09:18 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-12 03:09:18 +0300 |
commit | 723dc8aced90172b7f6e20ad5484083c4c821fa7 (patch) | |
tree | f99d3f3fd161e554e3424179257022dd880771f8 /app/workers | |
parent | 19d63dbca44d8380b8bc0d51d890137691ddf2a7 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/workers')
-rw-r--r-- | app/workers/emails_on_push_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/emails_on_push_worker.rb b/app/workers/emails_on_push_worker.rb index 2f0d7fecf19..1a34bf50d87 100644 --- a/app/workers/emails_on_push_worker.rb +++ b/app/workers/emails_on_push_worker.rb @@ -96,6 +96,6 @@ class EmailsOnPushWorker # rubocop:disable Scalability/IdempotentWorker def valid_recipients(recipients) recipients.split.select do |recipient| recipient.include?('@') - end + end.uniq(&:downcase) end end |