diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-01-28 10:55:37 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-01-28 11:04:28 +1100 |
commit | c799e4184c3f14e7770afa514621c72ebc408c52 (patch) | |
tree | 0abbf9861176cb6315b48489702c2c7623dfc52a /lib/mail_handler/backends/mail_backend.rb | |
parent | 39e879cfe57a61132c4e2dbc57a0f578e3ba1a3e (diff) |
Calling TMail::Mail#base64_decode does not modify the mail object so doesn't do anything as used here
Diffstat (limited to 'lib/mail_handler/backends/mail_backend.rb')
-rw-r--r-- | lib/mail_handler/backends/mail_backend.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/mail_handler/backends/mail_backend.rb b/lib/mail_handler/backends/mail_backend.rb index b75e6ed63..0a12ab3bb 100644 --- a/lib/mail_handler/backends/mail_backend.rb +++ b/lib/mail_handler/backends/mail_backend.rb @@ -8,8 +8,7 @@ module MailHandler 'Mail' end - # Note that the decode flag is not yet used - def mail_from_raw_email(data, decode=true) + def mail_from_raw_email(data) Mail.new(data) end |