Bug 224587 Biff shouldn't alert for transient IMAP server errors r=bienvenu sr=Henry.Jia

This commit is contained in:
neil%parkwaycc.co.uk 2003-11-13 10:36:37 +00:00
Родитель c0856a8b98
Коммит b7a6586030
1 изменённых файлов: 2 добавлений и 6 удалений

Просмотреть файл

@ -2109,13 +2109,8 @@ NS_IMETHODIMP nsImapIncomingServer::FEAlertFromServer(const char *aString, nsIM
if (aMsgWindow)
aMsgWindow->GetPromptDialog(getter_AddRefs(dialog));
if (!dialog) // if we didn't get one, use the default....
if (dialog)
{
nsCOMPtr<nsIWindowWatcher> wwatch(do_GetService(NS_WINDOWWATCHER_CONTRACTID));
if (wwatch)
wwatch->GetNewPrompter(0, getter_AddRefs(dialog));
}
if (aString)
{
// skip over the first two words, I guess.
@ -2144,6 +2139,7 @@ NS_IMETHODIMP nsImapIncomingServer::FEAlertFromServer(const char *aString, nsIM
PR_Free(serverSaidPrefix);
}
}
}
return rv;
}