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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user