commit 7c793ee841555c06648ff39adece3a8f78a989aa
parent ddee66da21dab85102fbd1b1c475eeaf83287e5d
Author: Stefan Lundström <lundst@snabb.(none)>
Date: Thu, 23 Apr 2009 14:02:13 +0200
Changed cc and bcc field editing to use Person.full_address instead of Person.longname which includes the quotations of the name if needed.
Diffstat:
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
@@ -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