diff --git a/README.md b/README.md index 1280f92..ea0d795 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/lib/Connection.js b/lib/Connection.js index 5e4355d..89ab376 100644 --- a/lib/Connection.js +++ b/lib/Connection.js @@ -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); },