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