fix 329232 first save tos draft/template/sent folder fails if folder has to be created, sr=mscott

This commit is contained in:
bienvenu%nventure.com 2006-04-28 21:05:28 +00:00
Родитель 989f2df0f6
Коммит 1feb2bbb4b
1 изменённых файлов: 5 добавлений и 5 удалений

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

@ -248,14 +248,14 @@ nsMsgCopy::StartCopyOperation(nsIMsgIdentity *aUserIdentity,
}
mMode = aMode;
mFileSpec = aFileSpec;
mDstFolder = dstFolder;
mMsgToReplace = aMsgToReplace;
mIsDraft = isDraft;
mMsgSendObj = aMsgSendObj;
if (!waitForUrl)
{
// cache info needed for DoCopy and call DoCopy when OnStopUrl is called.
mFileSpec = aFileSpec;
mDstFolder = dstFolder;
mMsgToReplace = aMsgToReplace;
mIsDraft = isDraft;
mMsgSendObj = aMsgSendObj;
rv = DoCopy(aFileSpec, dstFolder, aMsgToReplace, isDraft, msgWindow, aMsgSendObj);
// N.B. "this" may be deleted when this call returns.
}