зеркало из https://github.com/mozilla/gecko-dev.git
rest of fix for batching move/copy r=naving,sr=mscott 64456
This commit is contained in:
Родитель
ab88d63142
Коммит
aa74276d98
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче