23089. sr=bienvenu. Do not updateMailboxinfo when imapAction is LiteSelectFolder (undo/redo)

This commit is contained in:
naving%netscape.com 2001-02-03 02:18:27 +00:00
Родитель c5e9375f28
Коммит d31958d62e
1 изменённых файлов: 8 добавлений и 0 удалений

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

@ -3073,6 +3073,14 @@ void nsImapProtocol::ProcessMailboxUpdate(PRBool handlePossibleUndo)
} }
else if (!DeathSignalReceived()) else if (!DeathSignalReceived())
GetServerStateParser().ResetFlagInfo(0); GetServerStateParser().ResetFlagInfo(0);
if (!DeathSignalReceived())
{
nsImapAction imapAction;
nsresult res = m_runningUrl->GetImapAction(&imapAction);
if (NS_SUCCEEDED(res) && imapAction == nsIImapUrl::nsImapLiteSelectFolder)
return;
}
nsImapMailboxSpec *new_spec = GetServerStateParser().CreateCurrentMailboxSpec(); nsImapMailboxSpec *new_spec = GetServerStateParser().CreateCurrentMailboxSpec();
if (new_spec && !DeathSignalReceived()) if (new_spec && !DeathSignalReceived())