зеркало из https://github.com/mozilla/gecko-dev.git
fix filter applying code to not stop after non-move filters, r=naving, sr=sspitzer, a=asa 167519
This commit is contained in:
Родитель
48262b8fc9
Коммит
2c9683233c
|
@ -155,7 +155,7 @@ nsMsgFilterList::ApplyFiltersToHdr(nsMsgFilterTypeType filterType,
|
||||||
matchTermStatus = filter->MatchHdr(msgHdr, folder, db, headers, headersSize, &result);
|
matchTermStatus = filter->MatchHdr(msgHdr, folder, db, headers, headersSize, &result);
|
||||||
if (NS_SUCCEEDED(matchTermStatus) && result && listener)
|
if (NS_SUCCEEDED(matchTermStatus) && result && listener)
|
||||||
{
|
{
|
||||||
PRBool applyMore;
|
PRBool applyMore = PR_TRUE;
|
||||||
|
|
||||||
ret = listener->ApplyFilterHit(filter, msgWindow, &applyMore);
|
ret = listener->ApplyFilterHit(filter, msgWindow, &applyMore);
|
||||||
if (NS_FAILED(ret) || !applyMore)
|
if (NS_FAILED(ret) || !applyMore)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче