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
Родитель ab88d63142
Коммит aa74276d98
1 изменённых файлов: 3 добавлений и 2 удалений

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

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