|
|
|
@ -1140,8 +1140,7 @@ Connection.prototype._resUntagged = function(info) {
|
|
|
|
|
if (this._box) {
|
|
|
|
|
if (this._box.messages.total > 0)
|
|
|
|
|
--this._box.messages.total;
|
|
|
|
|
if (!this._curReq)
|
|
|
|
|
this.emit('expunge', info.num);
|
|
|
|
|
this.emit('expunge', info.num);
|
|
|
|
|
}
|
|
|
|
|
} else if (type === 'ok') {
|
|
|
|
|
if (this.state === 'connected' && !this._curReq)
|
|
|
|
|