fix 256330 imap deleting of folders doesn't show folder in trash until restart, sr=mscott

This commit is contained in:
bienvenu%nventure.com 2004-09-09 21:41:19 +00:00
Родитель a842e48405
Коммит b0ad94c221
1 изменённых файлов: 2 добавлений и 0 удалений

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

@ -186,6 +186,8 @@ NS_IMETHODIMP nsMsgDBService::OpenMailDBFromFileSpec(nsIFileSpec *aFolderName, P
NS_ENSURE_SUCCESS(rv, rv); NS_ENSURE_SUCCESS(rv, rv);
rv = msgDB->Open(aFolderName, aCreate, aUpgrading); rv = msgDB->Open(aFolderName, aCreate, aUpgrading);
NS_IF_ADDREF(*pMessageDB = msgDB); NS_IF_ADDREF(*pMessageDB = msgDB);
if (aCreate && msgDB && rv == NS_MSG_ERROR_FOLDER_SUMMARY_MISSING)
rv = NS_OK;
return rv; return rv;
} }