diff --git a/mailnews/local/src/nsParseMailbox.cpp b/mailnews/local/src/nsParseMailbox.cpp index 065ef592496..b6e1f7ad2ad 100644 --- a/mailnews/local/src/nsParseMailbox.cpp +++ b/mailnews/local/src/nsParseMailbox.cpp @@ -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"); }