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:
bienvenu%nventure.com 2004-04-08 16:28:33 +00:00
Родитель 7d6526eb50
Коммит 714452f922
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -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()