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