no bug r/sr=bienvenu removing some lines not needed

This commit is contained in:
naving%netscape.com 2002-08-23 21:02:36 +00:00
parent e9457a4452
commit 99efaa5cdd

View File

@ -1301,9 +1301,8 @@ NS_IMETHODIMP nsImapIncomingServer::PossibleImapMailbox(const char *folderPath,
//make sure rv value is not crunched, it is used to SetPrettyName
nsXPIDLCString redirectorType;
GetRedirectorType(getter_Copies(redirectorType)); //Sent mail folder as per netscape webmail and aol server
if ((redirectorType.Equals(NS_LITERAL_CSTRING("aol")) && convertedName.Equals(NS_LITERAL_STRING("Sent Mail"))) ||
(redirectorType.Equals(NS_LITERAL_CSTRING("netscape")) && onlineName.Equals(NS_LITERAL_CSTRING("Sent"))))
GetRedirectorType(getter_Copies(redirectorType)); //Sent mail folder as per netscape webmail
if (redirectorType.Equals(NS_LITERAL_CSTRING("netscape")) && onlineName.Equals(NS_LITERAL_CSTRING("Sent")))
//we know that we don't allowConversion for netscape webmail so just use the onlineName
child->SetFlag(MSG_FOLDER_FLAG_SENTMAIL);