mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 03:00:30 +00:00
fix filters setting junk score on pop3 accounts, sr=mscott 224318
This commit is contained in:
parent
0b8f891f78
commit
a91c548d7c
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user