don't continue applying filters after move

git-svn-id: svn://10.0.0.236/trunk@35697 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bienvenu%netscape.com
1999-06-16 05:58:02 +00:00
parent f278c932b4
commit 1659b03f62

View File

@@ -1542,6 +1542,7 @@ NS_IMETHODIMP nsImapMailFolder::ApplyFilterHit(nsIMsgFilter *filter, PRBool *app
msgMoved = TRUE; // this will prevent us from adding the header to the db.
}
*applyMore = PR_FALSE;
#endif // DOING_DELETE
}
case nsMsgFilterActionMoveToFolder:
@@ -1596,7 +1597,10 @@ NS_IMETHODIMP nsImapMailFolder::ApplyFilterHit(nsIMsgFilter *filter, PRBool *app
}
nsresult err = MoveIncorporatedMessage(msgHdr, mDatabase, (char *) value, filter);
if (NS_SUCCEEDED(err))
{
m_msgMovedByFilter = PR_TRUE;
*applyMore = PR_FALSE;
}
}
delete [] folderName;