1
0
mirror of https://github.com/moparisthebest/mail synced 2025-01-11 05:28:00 -05:00

only show cc line in forwarded message when not empty

This commit is contained in:
Tankred Hase 2014-04-05 12:14:20 +02:00
parent 770a4f0ae9
commit bfc354146a

View File

@ -116,7 +116,8 @@ define(function(require) {
'Date: ' + sentDate + '\n' +
'Subject: ' + re.subject + '\n' +
'To: ' + createString(re.to) + '\n' +
'Cc: ' + createString(re.cc) + '\n\n\n';
((re.cc && re.cc.length > 0) ? 'Cc: ' + createString(re.cc) + '\n' : '') +
'\n\n';
} else {
body = '\n\n' + sentDate + ' ' + from + ' wrote:\n> ';