зеркало из https://github.com/mozilla/gecko-dev.git
fix labels not sticking when db is regenerated, patch by naving, r=bienvenu, sr=sspitzer 123110 a=shaver
This commit is contained in:
Родитель
0dc85ffa0b
Коммит
dce4c831e3
|
@ -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:
|
||||
|
|
Загрузка…
Ссылка в новой задаче