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