|
|
@ -1338,8 +1338,8 @@ ImapConnection.prototype._move = function(which, uids, boxTo, cb) {
|
|
|
|
throw new Error('Cannot move message: '
|
|
|
|
throw new Error('Cannot move message: '
|
|
|
|
+ 'server does not allow deletion of messages');
|
|
|
|
+ 'server does not allow deletion of messages');
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this._copy(which, uids, boxTo, function ccb(err, info, reentryCount, deletedUIDs,
|
|
|
|
this._copy(which, uids, boxTo,
|
|
|
|
counter) {
|
|
|
|
function ccb(err, info, reentryCount, deletedUIDs, counter) {
|
|
|
|
if (err)
|
|
|
|
if (err)
|
|
|
|
return cb(err, info);
|
|
|
|
return cb(err, info);
|
|
|
|
|
|
|
|
|
|
|
@ -1377,7 +1377,8 @@ ImapConnection.prototype._move = function(which, uids, boxTo, cb) {
|
|
|
|
} else
|
|
|
|
} else
|
|
|
|
cb(err, info);
|
|
|
|
cb(err, info);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|