зеркало из 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
|
@ -3074,6 +3074,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())
|
||||||
{
|
{
|
||||||
|
|
Загрузка…
Ссылка в новой задаче