Follow up fix to Bug #224318 --> add code to actually read in the junk score value when reading in a filter that

trys to set junk status on a message.

sr=bienvenu
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@154489 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
scott%scott-macgregor.org
2004-04-03 17:31:57 +00:00
parent ee49e42749
commit b97ca5b1ea

View File

@@ -649,6 +649,13 @@ nsresult nsMsgFilterList::LoadTextFilters(nsIOFileStream *aStream)
if (res == 0)
currentFilterAction->SetLabel((nsMsgLabelValue) labelInt);
}
else if (type == nsMsgFilterAction::JunkScore)
{
PRInt32 res;
PRInt32 junkScore = value.ToInteger(&res, 10);
if (!res)
currentFilterAction->SetJunkScore(junkScore);
}
}
break;
case nsIMsgFilterList::attribCondition: