Bug 467527 - "Restart needed for localized folder name (Drafts/Junk/Sent/Templates/Archives name in folderpane tree)" - fix fcc to reply folder case [r+sr=Standard8]
This commit is contained in:
Родитель
da6c028ea2
Коммит
cee9020d98
|
@ -379,7 +379,13 @@ nsMsgCopy::GetSentFolder(nsIMsgIdentity *userIdentity, nsIMsgFolder **folder, PR
|
||||||
{
|
{
|
||||||
nsresult ret = LocateMessageFolder(userIdentity, nsIMsgSend::nsMsgDeliverNow, mSavePref, folder);
|
nsresult ret = LocateMessageFolder(userIdentity, nsIMsgSend::nsMsgDeliverNow, mSavePref, folder);
|
||||||
if (*folder)
|
if (*folder)
|
||||||
(*folder)->SetFlag(nsMsgFolderFlags::SentMail);
|
{
|
||||||
|
// If mSavePref is the same as the identity's fcc folder, set the sent flag.
|
||||||
|
nsCString identityFccUri;
|
||||||
|
userIdentity->GetFccFolder(identityFccUri);
|
||||||
|
if (identityFccUri.Equals(mSavePref))
|
||||||
|
(*folder)->SetFlag(nsMsgFolderFlags::SentMail);
|
||||||
|
}
|
||||||
CreateIfMissing(folder, waitForUrl);
|
CreateIfMissing(folder, waitForUrl);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче