lib/mail/fields/common/common_message_id.rb in dball-mail-2.2.9.2 vs lib/mail/fields/common/common_message_id.rb in dball-mail-2.2.9.3
- old
+ new
@@ -31,14 +31,14 @@
end
private
def do_encode(field_name)
- %Q{#{field_name}: #{do_decode}\r\n}
+ %Q{#{field_name}: #{message_ids.map { |m| "<#{m}>" }.join(', ')}\r\n}
end
def do_decode
- "#{message_ids.map { |m| "<#{m}>" }.join(' ')}"
+ "#{message_ids.map { |m| "<#{m}>" }.join(', ')}"
end
end
end