mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 18:47:53 +00:00
apply filter plugins to new messages in local mail folders, r=cavin, sr=sspitzer 180153
This commit is contained in:
parent
a2298ad3f8
commit
b570c14671
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user