diff --git a/imap-core/lib/commands/compress.js b/imap-core/lib/commands/compress.js index 82f00059..3556f413 100644 --- a/imap-core/lib/commands/compress.js +++ b/imap-core/lib/commands/compress.js @@ -33,7 +33,7 @@ module.exports = { this.compression = true; this._deflate = zlib.createDeflateRaw(); - this._inflate = zlib.createDeflateRaw(); + this._inflate = zlib.createInflateRaw(); this._deflate.once('error', err => { this._socket.emit('error', err);