mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
no bug r/sr=bienvenu removing some lines not needed
This commit is contained in:
parent
e9457a4452
commit
99efaa5cdd
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user