зеркало из https://github.com/mozilla/gecko-dev.git
fix regression in imap undo so that it downloads undeleted header immediately r/sr =sspitzer 164144
This commit is contained in:
Родитель
cb48363414
Коммит
f6584ea326
|
@ -434,7 +434,12 @@ nsImapProtocol::nsImapProtocol() :
|
|||
|
||||
// where should we do this? Perhaps in the factory object?
|
||||
if (!IMAP)
|
||||
{
|
||||
IMAP = PR_NewLogModule("IMAP");
|
||||
#ifdef DEBUG_bienvenu
|
||||
PR_SetLogBuffering(50000);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
nsresult nsImapProtocol::Configure(PRInt32 TooFastTime, PRInt32 IdealTime,
|
||||
|
@ -2115,6 +2120,10 @@ void nsImapProtocol::ProcessSelectedStateURL()
|
|||
FetchMessage(messageIds,
|
||||
kHeadersRFC822andUid,
|
||||
bMessageIdsAreUids);
|
||||
// if we explicitly ask for headers, as opposed to getting them as a result
|
||||
// of selecting the folder, or biff, send the headerFetchCompleted notification
|
||||
// to flush out the header cache.
|
||||
HeaderFetchCompleted();
|
||||
}
|
||||
break;
|
||||
case nsIImapUrl::nsImapSearch:
|
||||
|
|
Загрузка…
Ссылка в новой задаче