Removed separate if for esearch result

fork
Ronnie 11 years ago
parent 436a2761b2
commit 91fd2d1512

@ -1097,10 +1097,8 @@ Connection.prototype._resUntagged = function(info) {
this._caps = info.text.map(function(v) { return v.toUpperCase(); });
else if (type === 'preauth')
this.state = 'authenticated';
else if (type === 'sort' || type === 'thread')
this._curReq.cbargs.push(info.text);
else if (type === 'esearch')
this._curReq.cbargs.push(info.text);
else if (type === 'sort' || type === 'thread' || type === 'esearch')
this._curReq.cbargs.push(info.text);
else if (type === 'search') {
if (info.text.results !== undefined) {
// CONDSTORE-modified search results

Loading…
Cancel
Save