зеркало из https://github.com/mozilla/pjs.git
don't try to get new messages when we get idle response if we're no longer connected, patch by ere, r/sr=me, a=chofmann 239802
This commit is contained in:
Родитель
e08255e309
Коммит
89529196ea
|
@ -1206,8 +1206,8 @@ void nsImapProtocol::HandleIdleResponses()
|
|||
// We might check that something actually changed, but for now we can
|
||||
// just assume it. OnNewIdleMessages must run a url, so that
|
||||
// we'll go back into asyncwait mode.
|
||||
m_imapMailFolderSink->OnNewIdleMessages();
|
||||
|
||||
if (GetServerStateParser().Connected())
|
||||
m_imapMailFolderSink->OnNewIdleMessages();
|
||||
}
|
||||
|
||||
void nsImapProtocol::EstablishServerConnection()
|
||||
|
|
Загрузка…
Ссылка в новой задаче