fix filters setting junk score on pop3 accounts, sr=mscott 224318

This commit is contained in:
bienvenu%nventure.com 2004-04-30 21:15:51 +00:00
parent 0b8f891f78
commit a91c548d7c

View File

@ -1697,6 +1697,8 @@ NS_IMETHODIMP nsParseNewMailState::ApplyFilterHit(nsIMsgFilter *filter, nsIMsgWi
PRInt32 junkScore;
filterAction->GetJunkScore(&junkScore);
junkScoreStr.AppendInt(junkScore);
nsMsgKey msgKey;
msgHdr->GetMessageKey(&msgKey);
m_mailDB->SetStringProperty(msgKey, "junkscore", junkScoreStr.get());
m_mailDB->SetStringProperty(msgKey, "junkscoreorigin", /* ### should this be plugin? */"plugin");
}