Fix capatilization of Deleted flag when moving a message

fork
Brian White 12 years ago
parent 0c9baf755d
commit bcacc36582

@ -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);
});

Loading…
Cancel
Save