Connection: pass COPYUID info if server has UIDPLUS

fork
Brian White 9 years ago
parent b607d5fa7d
commit 8eddf61860

@ -745,9 +745,11 @@ Connection.prototype._move = function(which, uids, boxTo, cb) {
else
self.seq.addFlags(uids, '\\Deleted', cbMarkDel);
} else if (task === 3) {
if (which && self.serverSupports('UIDPLUS'))
self.expunge(uids, cb);
else {
if (which && self.serverSupports('UIDPLUS')) {
self.expunge(uids, function(e) {
cb(e, info);
});
} else {
self.expunge(function(e) {
++task;
ccb(e, info);

Loading…
Cancel
Save