зеркало из https://github.com/mozilla/pjs.git
fix filters setting junk score on pop3 accounts, sr=mscott 224318
This commit is contained in:
Родитель
542c80a47d
Коммит
6679194126
|
@ -1697,6 +1697,8 @@ NS_IMETHODIMP nsParseNewMailState::ApplyFilterHit(nsIMsgFilter *filter, nsIMsgWi
|
||||||
PRInt32 junkScore;
|
PRInt32 junkScore;
|
||||||
filterAction->GetJunkScore(&junkScore);
|
filterAction->GetJunkScore(&junkScore);
|
||||||
junkScoreStr.AppendInt(junkScore);
|
junkScoreStr.AppendInt(junkScore);
|
||||||
|
nsMsgKey msgKey;
|
||||||
|
msgHdr->GetMessageKey(&msgKey);
|
||||||
m_mailDB->SetStringProperty(msgKey, "junkscore", junkScoreStr.get());
|
m_mailDB->SetStringProperty(msgKey, "junkscore", junkScoreStr.get());
|
||||||
m_mailDB->SetStringProperty(msgKey, "junkscoreorigin", /* ### should this be plugin? */"plugin");
|
m_mailDB->SetStringProperty(msgKey, "junkscoreorigin", /* ### should this be plugin? */"plugin");
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче