зеркало из https://github.com/mozilla/gecko-dev.git
Bug #239349 --> Filters incorrectly mark mails as junk if you have a filter that sets a label on the message.
sr=bienvenu a=chofmann
This commit is contained in:
Родитель
83a86441a7
Коммит
aff320942a
|
@ -3154,6 +3154,7 @@ NS_IMETHODIMP nsImapMailFolder::ApplyFilterHit(nsIMsgFilter *filter, nsIMsgWindo
|
|||
keysToFlag.Add(msgKey);
|
||||
StoreImapFlags((filterLabel << 9), PR_TRUE, keysToFlag.GetArray(), keysToFlag.GetSize());
|
||||
}
|
||||
break;
|
||||
case nsMsgFilterAction::JunkScore:
|
||||
{
|
||||
nsCAutoString junkScoreStr;
|
||||
|
@ -3170,6 +3171,7 @@ NS_IMETHODIMP nsImapMailFolder::ApplyFilterHit(nsIMsgFilter *filter, nsIMsgWindo
|
|||
keysToClassify->Add(msgKey);
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче