From: Stefan Lundström Date: Thu, 23 Apr 2009 12:02:13 +0000 (+0200) Subject: Changed cc and bcc field editing to use Person.full_address instead of Person.longnam... X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=7c793ee841555c06648ff39adece3a8f78a989aa;p=sup Changed cc and bcc field editing to use Person.full_address instead of Person.longname which includes the quotations of the name if needed. --- diff --git a/lib/sup/modes/edit-message-mode.rb b/lib/sup/modes/edit-message-mode.rb index 31aa897..8c138e6 100644 --- a/lib/sup/modes/edit-message-mode.rb +++ b/lib/sup/modes/edit-message-mode.rb @@ -390,7 +390,7 @@ protected contacts = BufferManager.ask_for_contacts :people, "#{field}: ", default if contacts - text = contacts.map { |s| s.longname }.join(", ") + text = contacts.map { |s| s.full_address }.join(", ") @header[field] = parse_header field, text update end