mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 03:00:30 +00:00
rest of fix for batching move/copy r=naving,sr=mscott 64456
This commit is contained in:
parent
ab88d63142
commit
aa74276d98
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user