зеркало из https://github.com/mozilla/pjs.git
23089. sr=bienvenu. Do not updateMailboxinfo when imapAction is LiteSelectFolder (undo/redo)
This commit is contained in:
Родитель
c5e9375f28
Коммит
d31958d62e
|
@ -3073,6 +3073,14 @@ void nsImapProtocol::ProcessMailboxUpdate(PRBool handlePossibleUndo)
|
|||
}
|
||||
else if (!DeathSignalReceived())
|
||||
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();
|
||||
if (new_spec && !DeathSignalReceived())
|
||||
|
|
Загрузка…
Ссылка в новой задаче