fix grouped by sender to use pretty name of sender, like we display, sr=mscott, a=asa, 265651

This commit is contained in:
bienvenu%nventure.com 2005-06-17 04:11:50 +00:00
Родитель ed0ddb3c84
Коммит 206d80c391
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -147,8 +147,8 @@ nsHashKey *nsMsgGroupView::AllocHashKeyForHdr(nsIMsgDBHdr *msgHdr)
return new nsCStringKey(cStringKey.get());
break;
case nsMsgViewSortType::byAuthor:
(void) msgHdr->GetAuthor(getter_Copies(cStringKey));
return new nsCStringKey(cStringKey.get());
(void) nsMsgDBView::FetchAuthor(msgHdr, getter_Copies(stringKey));
return new nsStringKey(stringKey.get());
case nsMsgViewSortType::byRecipient:
(void) msgHdr->GetRecipients(getter_Copies(cStringKey));
return new nsCStringKey(cStringKey.get());