From b0ad94c221c490caaec5868c851ae1e485f7c1d1 Mon Sep 17 00:00:00 2001 From: "bienvenu%nventure.com" Date: Thu, 9 Sep 2004 21:41:19 +0000 Subject: [PATCH] fix 256330 imap deleting of folders doesn't show folder in trash until restart, sr=mscott --- mailnews/db/msgdb/src/nsMsgDatabase.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mailnews/db/msgdb/src/nsMsgDatabase.cpp b/mailnews/db/msgdb/src/nsMsgDatabase.cpp index 29c02a9e161..0a61c1e449f 100644 --- a/mailnews/db/msgdb/src/nsMsgDatabase.cpp +++ b/mailnews/db/msgdb/src/nsMsgDatabase.cpp @@ -186,6 +186,8 @@ NS_IMETHODIMP nsMsgDBService::OpenMailDBFromFileSpec(nsIFileSpec *aFolderName, P NS_ENSURE_SUCCESS(rv, rv); rv = msgDB->Open(aFolderName, aCreate, aUpgrading); NS_IF_ADDREF(*pMessageDB = msgDB); + if (aCreate && msgDB && rv == NS_MSG_ERROR_FOLDER_SUMMARY_MISSING) + rv = NS_OK; return rv; }