Bug 1349021 - CC addresses configured in account not working due to typo in MsgComposeCommands.js. r+a=jorgk

This commit is contained in:
aceman 2017-03-20 16:28:00 +01:00
Родитель 0253e0c586
Коммит cad22ba32f
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -4597,7 +4597,7 @@ function LoadIdentity(startup)
if (newCc) {
// Ensure none of the Ccs are already in To.
let cc2 = msgCompFields.splitRecipients(newCc, true, {});
newCC = cc2.filter(x => !toAddrs.has(x)).join(", ");
newCc = cc2.filter(x => !toAddrs.has(x)).join(", ");
awAddRecipients(msgCompFields, "addr_cc", newCc);
}
}

Просмотреть файл

@ -2637,7 +2637,7 @@ function LoadIdentity(startup)
if (newCc) {
// Ensure none of the Ccs are already in To.
let cc2 = msgCompFields.splitRecipients(newCc, true, {});
newCC = cc2.filter(x => !toAddrs.has(x)).join(", ");
newCc = cc2.filter(x => !toAddrs.has(x)).join(", ");
awAddRecipients(msgCompFields, "addr_cc", newCc);
}
}