From 7c793ee841555c06648ff39adece3a8f78a989aa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20Lundstr=C3=B6m?= Date: Thu, 23 Apr 2009 14:02:13 +0200 Subject: [PATCH] Changed cc and bcc field editing to use Person.full_address instead of Person.longname which includes the quotations of the name if needed. --- lib/sup/modes/edit-message-mode.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.2