91412 r/sr=mscott; do not use the copyService, call copy directly on the destFolder.

This commit is contained in:
naving%netscape.com 2001-07-19 04:12:51 +00:00
Родитель fbd1fc140f
Коммит db62985b1a
1 изменённых файлов: 2 добавлений и 4 удалений

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

@ -1518,10 +1518,8 @@ nsSaveMsgListener::OnStopRunningUrl(nsIURI* url, nsresult exitCode)
nsCOMPtr<nsIMsgFolder> templateFolder;
templateFolder = do_QueryInterface(res, &rv);
if (NS_FAILED(rv)) goto done;
NS_WITH_SERVICE(nsIMsgCopyService, copyService, kMsgCopyServiceCID, &rv);
if (NS_FAILED(rv)) goto done;
rv = copyService->CopyFileMessage(m_fileSpec, templateFolder, nsnull,
PR_TRUE, this, nsnull);
rv = templateFolder->CopyFileMessage(m_fileSpec, nsnull,
PR_TRUE, nsnull, this);
killSelf = PR_FALSE;
}
}