fixed bodystructure error

This commit is contained in:
Andris Reinman 2017-03-12 13:43:16 +02:00
parent 8c7e4a6e5b
commit ae4845ce45
2 changed files with 3 additions and 3 deletions

View file

@ -26,7 +26,7 @@ Wild Duck IMAP server supports the following IMAP standards:
- **SPECIAL-USE**
- **ID**
- **AUTHENTICATE PLAIN** and **SASL-IR**
- **UTF8=ACCEPT**
- ~~**UTF8=ACCEPT**~~ (FIXME: had to revert this change as internally strings are handled as binary, not utf8 and thus mixed encodings were used if conversion was not properly handled)
## FAQ

View file

@ -498,8 +498,8 @@ module.exports.getQueryResponse = function (query, message, options) {
break;
case 'bodystructure':
if (message.envelope) {
value = message.envelope;
if (message.bodystructure) {
value = message.bodystructure;
} else {
if (!mimeTree) {
mimeTree = indexer.parseMimeTree(message.raw);