diff options
author | Louise Crow <louise.crow@gmail.com> | 2015-05-26 10:28:32 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2015-05-26 10:28:32 +0100 |
commit | 1e183ce535c81080affb7c185d27c9fe3fb17292 (patch) | |
tree | fcaf1e52730b49003738fda2326d307714019217 /lib/mail_handler/backends/mail_backend.rb | |
parent | 623317b3a7f49d1b9bffec43e8bc1ea94bf0f885 (diff) | |
parent | 4a58e16b189a9e69c160d4e4b9919dd99359ea8e (diff) |
Merge branch 'hotfix/0.21.0.32' into rails-3-develop
Diffstat (limited to 'lib/mail_handler/backends/mail_backend.rb')
-rw-r--r-- | lib/mail_handler/backends/mail_backend.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mail_handler/backends/mail_backend.rb b/lib/mail_handler/backends/mail_backend.rb index 2f1052a0c..5a7e0ef65 100644 --- a/lib/mail_handler/backends/mail_backend.rb +++ b/lib/mail_handler/backends/mail_backend.rb @@ -124,7 +124,7 @@ module MailHandler envelope_to = mail['envelope-to'] ? [mail['envelope-to'].value.to_s] : [] ((mail.to || []) + (mail.cc || []) + - (envelope_to || [])).uniq + (envelope_to || [])).compact.uniq end def empty_return_path?(mail) |