|
|
|
@ -55,12 +55,12 @@ function Connection(config) {
|
|
|
|
|
autotls: config.autotls,
|
|
|
|
|
user: config.user,
|
|
|
|
|
password: config.password,
|
|
|
|
|
xoauth: config.xoauth,
|
|
|
|
|
xoauth2: config.xoauth2,
|
|
|
|
|
connTimeout: config.connTimeout || 10000,
|
|
|
|
|
keepalive: (typeof config.keepalive === 'boolean'
|
|
|
|
|
? config.keepalive
|
|
|
|
|
: true),
|
|
|
|
|
xoauth:config.xoauth,
|
|
|
|
|
xoauth2:config.xoauth2,
|
|
|
|
|
: true)
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
this._sock = undefined;
|
|
|
|
@ -466,7 +466,7 @@ Connection.prototype._store = function(which, uids, flags, isAdding, cb) {
|
|
|
|
|
|
|
|
|
|
flags = flags.join(' ');
|
|
|
|
|
uids = uids.join(',');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this._enqueue(which + 'STORE ' + uids + ' ' + (isAdding ? '+' : '-')
|
|
|
|
|
+ 'FLAGS.SILENT (' + flags + ')', cb);
|
|
|
|
|