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:
parent
770a4f0ae9
commit
bfc354146a
@ -116,7 +116,8 @@ define(function(require) {
|
|||||||
'Date: ' + sentDate + '\n' +
|
'Date: ' + sentDate + '\n' +
|
||||||
'Subject: ' + re.subject + '\n' +
|
'Subject: ' + re.subject + '\n' +
|
||||||
'To: ' + createString(re.to) + '\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 {
|
} else {
|
||||||
body = '\n\n' + sentDate + ' ' + from + ' wrote:\n> ';
|
body = '\n\n' + sentDate + ' ' + from + ' wrote:\n> ';
|
||||||
|
Loading…
Reference in New Issue
Block a user