|
|
|
@ -1126,7 +1126,7 @@ Connection.prototype.setKeywordsSince = function(uids, keywords, modseq, cb) {
|
|
|
|
|
// END Extension methods =======================================================
|
|
|
|
|
|
|
|
|
|
// Namespace for seqno-based commands
|
|
|
|
|
Connection.prototype.__defineGetter__('seq', function() {
|
|
|
|
|
Object.defineProperty(Connection.prototype, 'seq', { get: function() {
|
|
|
|
|
var self = this;
|
|
|
|
|
return {
|
|
|
|
|
delKeywords: function(seqnos, keywords, cb) {
|
|
|
|
@ -1222,7 +1222,7 @@ Connection.prototype.__defineGetter__('seq', function() {
|
|
|
|
|
cb);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
}});
|
|
|
|
|
|
|
|
|
|
Connection.prototype._resUntagged = function(info) {
|
|
|
|
|
var type = info.type, i, len, box, attrs, key;
|
|
|
|
@ -1708,7 +1708,6 @@ Connection.prototype._starttls = function() {
|
|
|
|
|
self._sock.on('timeout', this._onSocketTimeout);
|
|
|
|
|
self._sock.setTimeout(self._config.socketTimeout);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
self._parser.setStream(self._sock);
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|