mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Bug #329552 --> alert notifications dialog is called in scenarios where we don't have new message and in scenarios where the folder doesn't realize it has new folders. Patch by bienvenu and mscott sr=bienvenu
This commit is contained in:
parent
68fd2fbdfe
commit
f96a4487e1
@ -2776,6 +2776,7 @@ NS_IMETHODIMP nsImapMailFolder::UpdateImapMailboxInfo(
|
||||
GetGettingNewMessages(&gettingNewMessages);
|
||||
if (gettingNewMessages)
|
||||
ProgressStatus(aProtocol,IMAP_NO_NEW_MESSAGES, nsnull);
|
||||
SetPerformingBiff(PR_FALSE);
|
||||
}
|
||||
}
|
||||
|
||||
@ -5361,6 +5362,9 @@ nsImapMailFolder::HeaderFetchCompleted(nsIImapProtocol* aProtocol)
|
||||
if (!filtersRun && m_performingBiff && mDatabase && numNewBiffMsgs > 0 &&
|
||||
(!pendingMoves || !ShowPreviewText()))
|
||||
{
|
||||
if (!pendingMoves)
|
||||
SetHasNewMessages(PR_TRUE);
|
||||
|
||||
// If we are performing biff for this folder, tell the
|
||||
// stand-alone biff about the new high water mark
|
||||
// We must ensure that the server knows that we are performing biff.
|
||||
|
Loading…
Reference in New Issue
Block a user