lib/sup/modes/compose-mode.rb in sup-0.5 vs lib/sup/modes/compose-mode.rb in sup-0.6

- old
+ new

@@ -7,9 +7,11 @@ header["To"] = opts[:to].map { |p| p.full_address }.join(", ") if opts[:to] header["To"] = opts[:to].map { |p| p.full_address }.join(", ") if opts[:to] header["Cc"] = opts[:cc].map { |p| p.full_address }.join(", ") if opts[:cc] header["Bcc"] = opts[:bcc].map { |p| p.full_address }.join(", ") if opts[:bcc] header["Subject"] = opts[:subj] if opts[:subj] + header["References"] = opts[:refs].map { |r| "<#{r}>" }.join(" ") if opts[:refs] + header["In-Reply-To"] = opts[:replytos].map { |r| "<#{r}>" }.join(" ") if opts[:replytos] super :header => header, :body => (opts[:body] || []) end def edit_message