зеркало из https://github.com/mozilla/pjs.git
fix initial get new mail after creating non-deferred pop3 account, r=mscott, sr=sspitzer 252843
This commit is contained in:
Родитель
dc1774bece
Коммит
9293d9881b
|
@ -131,10 +131,8 @@ NS_IMETHODIMP nsMailDatabase::Open(nsIFileSpec *aFolderName, PRBool create, PRBo
|
|||
mailDB->m_folderSpec = new nsFileSpec(folderName);
|
||||
mailDB->m_folder = m_folder;
|
||||
mailDB->AddRef();
|
||||
// stat file before we open the db, because if we've latered
|
||||
// any messages, handling latered will change time stamp on
|
||||
// folder file.
|
||||
summaryFileExists = summarySpec.Exists();
|
||||
// treat empty summary file as not existing...so we can create and parse it.
|
||||
summaryFileExists = summarySpec.Exists() && summarySpec.GetFileSize() > 0;
|
||||
|
||||
nsresult err = NS_MSG_ERROR_FOLDER_SUMMARY_OUT_OF_DATE;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче