]> git.cworth.org Git - sup/commitdiff
Changed cc and bcc field editing to use Person.full_address instead of Person.longnam...
authorStefan Lundström <lundst@snabb.(none)>
Thu, 23 Apr 2009 12:02:13 +0000 (14:02 +0200)
committerStefan Lundström <lundst@snabb.(none)>
Thu, 23 Apr 2009 12:02:13 +0000 (14:02 +0200)
lib/sup/modes/edit-message-mode.rb

index 31aa8972766c34d17ae8f9cda5379b5363af559f..8c138e6cce66b8592d4dcef53f617a9b72e6996f 100644 (file)
@@ -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