Follow up to #2456 - removed unnessary call to Mail::Encodings.value_decode and corrected test cases
This commit is contained in:
parent
d6d4b6bee4
commit
0b472fae67
4 changed files with 4 additions and 4 deletions
|
@ -508,7 +508,7 @@ process unprocessable_mails (tmp/unprocessable_mail/*.eml) again
|
|||
|
||||
h['x-any-recipient'] = h.values.select(&:present?).join(', ')
|
||||
h['message_id'] = imported_fields['message-id']
|
||||
h['subject'] = Mail::Encodings.value_decode(imported_fields['subject'])
|
||||
h['subject'] = imported_fields['subject']
|
||||
begin
|
||||
h['date'] = Time.zone.parse(mail.date.to_s) || imported_fields['date']
|
||||
rescue
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess
|
||||
subject: Personaländerung
|
||||
subject: ' Personaländerung'
|
||||
|
|
Loading…
Reference in a new issue