b=142096 Message Security box does not display all recipients

r=javi sr=mscott
This commit is contained in:
kaie%netscape.com 2002-05-17 02:27:39 +00:00
Родитель 7babf86cf7
Коммит 4f427aac6f
1 изменённых файлов: 20 добавлений и 3 удалений

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

@ -98,10 +98,27 @@ NS_IMETHODIMP nsSMimeJSHelper::GetRecipientCertsInfo(
{
nsCString all_recipients;
all_recipients.Append(NS_LossyConvertUCS2toASCII(to).get());
all_recipients.Append(NS_LossyConvertUCS2toASCII(cc).get());
all_recipients.Append(NS_LossyConvertUCS2toASCII(bcc).get());
NS_LossyConvertUCS2toASCII ascii_to(to);
if (!ascii_to.IsEmpty()) {
all_recipients.Append(ascii_to.get());
all_recipients.Append(",");
}
NS_LossyConvertUCS2toASCII ascii_cc(cc);
if (!ascii_cc.IsEmpty()) {
all_recipients.Append(ascii_cc.get());
all_recipients.Append(",");
}
NS_LossyConvertUCS2toASCII ascii_bcc(bcc);
if (!ascii_bcc.IsEmpty()) {
all_recipients.Append(ascii_bcc.get());
all_recipients.Append(",");
}
all_recipients.Append(ng);
char *unique_mailboxes = nsnull;
{