This commit is contained in:
Andris Reinman 2017-09-27 11:31:38 +03:00
parent f7cb3c1d17
commit ddbf1fb2da
2 changed files with 2 additions and 2 deletions

View file

@ -181,7 +181,7 @@ class GridstoreStorage {
createReadStream(id, attachmentData) {
let stream = this.gridstore.openDownloadStream(id);
if (attachmentData.metadata.decoded) {
if (attachmentData && attachmentData.metadata.decoded) {
let encoder = new libbase64.Encoder({
lineLength: attachmentData.metadata.lineLen
});

View file

@ -1,6 +1,6 @@
{
"name": "wildduck",
"version": "1.0.81",
"version": "1.0.82",
"description": "IMAP server built with Node.js and MongoDB",
"main": "server.js",
"scripts": {