|
|
|
@ -889,7 +889,7 @@ ImapConnection.prototype._move = function(which, uids, boxTo, cb) {
|
|
|
|
|
});
|
|
|
|
|
} else if (reentryCount === 1) {
|
|
|
|
|
if (counter < deletedUIDs.length) {
|
|
|
|
|
self.delFlags(deletedUIDs[counter], 'DELETED', function(e) {
|
|
|
|
|
self.delFlags(deletedUIDs[counter], 'Deleted', function(e) {
|
|
|
|
|
process.nextTick(function() {
|
|
|
|
|
fnMe.call(this, e, reentryCount, deletedUIDs, counter+1);
|
|
|
|
|
});
|
|
|
|
@ -906,7 +906,7 @@ ImapConnection.prototype._move = function(which, uids, boxTo, cb) {
|
|
|
|
|
});
|
|
|
|
|
} else if (reentryCount === 4) {
|
|
|
|
|
if (counter < deletedUIDs.length) {
|
|
|
|
|
self.addFlags(deletedUIDs[counter], 'DELETED', function(e) {
|
|
|
|
|
self.addFlags(deletedUIDs[counter], 'Deleted', function(e) {
|
|
|
|
|
process.nextTick(function() {
|
|
|
|
|
fnMe.call(this, e, reentryCount, deletedUIDs, counter+1);
|
|
|
|
|
});
|
|
|
|
|