rest of fix for batching move/copy r=naving,sr=mscott 64456

This commit is contained in:
bienvenu%netscape.com 2001-01-10 23:21:28 +00:00
parent ab88d63142
commit aa74276d98

View File

@ -183,8 +183,9 @@ NS_IMETHODIMP nsCopyMessageStreamListener::OnStopRequest(nsIChannel * aChannel,
nsCOMPtr <nsIMsgImapMailFolder> destImap = do_QueryInterface(mDestination);
if (!destImap)
{
rv = DeleteMessage(uri, mSrcFolder);
if(NS_SUCCEEDED(rv))
// if the destination is a local folder, it will handle the delete from the source in EndMove
// rv = DeleteMessage(uri, mSrcFolder);
// if(NS_SUCCEEDED(rv))
rv = mDestination->EndMove();
}
}