fix labels not sticking when db is regenerated, patch by naving, r=bienvenu, sr=sspitzer 123110 a=shaver

This commit is contained in:
bienvenu%netscape.com 2002-03-13 23:48:10 +00:00
Родитель 0dc85ffa0b
Коммит dce4c831e3
1 изменённых файлов: 3 добавлений и 1 удалений

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

@ -1783,7 +1783,9 @@ NS_IMETHODIMP nsParseNewMailState::ApplyFilterHit(nsIMsgFilter *filter, nsIMsgWi
{
nsMsgLabelValue filterLabel;
filter->GetActionLabel(&filterLabel);
msgHdr->SetLabel(filterLabel);
nsMsgKey msgKey;
msgHdr->GetMessageKey(&msgKey);
m_mailDB->SetLabel(msgKey, filterLabel);
}
break;
default: