Forwarded messages don't include cc: Closes #6879

This commit is contained in:
Anirudh Sanjeev 2013-05-02 13:47:04 -07:00 committed by Jim Nelson
parent 8bb4f5fba7
commit fd265a53b9
2 changed files with 4 additions and 0 deletions

1
THANKS
View file

@ -26,5 +26,6 @@ Tiago Quelhas <tiagoq@gmail.com>
Didier Roche <didrocks@ubuntu.com>
Janosch Rolles <janosch@rolles.org>
Michel Alexandre Salim <salimma@fedoraproject.org>
Anirudh Sanjeev <skyronic@gmail.com>
Alexander Wilms <alexander.wilms@zoho.com>

View file

@ -189,6 +189,9 @@ public string quote_email_for_forward(Geary.Email email, bool html_format) {
string to_line = email_addresses_for_reply(email.to, html_format);
if (!String.is_empty_or_whitespace(to_line))
quoted += _("To: %s\n").printf(to_line);
string cc_line = email_addresses_for_reply(email.cc, html_format);
if (!String.is_empty_or_whitespace(cc_line))
quoted += _("Cc: %s\n").printf(cc_line);
quoted += "\n"; // A blank line between headers and body
quoted = quoted.replace("\n", "<br />");