apply filter plugins to new messages in local mail folders, r=cavin, sr=sspitzer 180153

This commit is contained in:
bienvenu%netscape.com 2002-11-20 15:21:01 +00:00
parent a2298ad3f8
commit b570c14671

View File

@ -658,6 +658,9 @@ nsMsgLocalMailFolder::UpdateFolder(nsIMsgWindow *aWindow)
else if (mCopyState)
mCopyState->m_notifyFolderLoaded = PR_TRUE; //defer folder loaded notification
}
// if we have new messages, try the filter plugins.
if (NS_SUCCEEDED(rv) && (mFlags & MSG_FOLDER_FLAG_GOT_NEW))
(void) CallFilterPlugins();
return rv;
}