mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
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
This commit is contained in:
parent
9af8b02b8e
commit
2fc2206eab
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user