misc cleanup

fork
mscdex 11 years ago
parent f8f9310f56
commit 00caa8f7b5

@ -14,7 +14,7 @@ Requirements
* NOTE: node v0.8.x users are supported via the readable-stream module which
may not be up-to-date (compared to node v0.10 streams2 implementation)
* An IMAP server -- tested with gmail
* An IMAP server to connect to -- tested with gmail
Installation

@ -613,7 +613,6 @@ Connection.prototype._fetch = function(which, uids, options) {
var cmd = which + 'FETCH ' + uids + ' (', fetching = [];
// always fetch GMail-specific bits of information when on GMail
if (this.serverSupports('X-GM-EXT-1')) {
fetching.push('X-GM-THRID');
fetching.push('X-GM-MSGID');
@ -653,7 +652,6 @@ Connection.prototype._fetch = function(which, uids, options) {
};
// Extension methods ===========================================================
Connection.prototype.setLabels = function(uids, labels, cb) {
this._storeLabels('UID ', uids, labels, '', cb);
};
@ -914,15 +912,11 @@ Connection.prototype.__defineGetter__('seq', function() {
setLabels: function(seqnos, labels, cb) {
self._storeLabels('', seqnos, labels, '', cb);
},
fetch: function(seqnos, options, what, cb) {
return self._fetch('', seqnos, options, what, cb);
},
search: function(options, cb) {
self._search('', options, cb);
},
esearch: function(criteria, options, cb) {
self._esearch('', criteria, options, cb);
},
sort: function(sorts, options, cb) {
self._sort('', sorts, options, cb);
},

Loading…
Cancel
Save