fix regression in imap undo so that it downloads undeleted header immediately r/sr =sspitzer 164144

This commit is contained in:
bienvenu%netscape.com 2002-08-23 14:07:04 +00:00
Родитель cb48363414
Коммит f6584ea326
1 изменённых файлов: 9 добавлений и 0 удалений

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

@ -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: