|
|
|
@ -59,6 +59,8 @@ exports.parseFetch = function(str, literals, fetchData) {
|
|
|
|
|
fetchData.flags = result[i+1].filter(utils.isNotEmpty);
|
|
|
|
|
else if (result[i] === 'BODYSTRUCTURE')
|
|
|
|
|
fetchData.structure = exports.parseBodyStructure(result[i+1], literals);
|
|
|
|
|
else if (result[i] === 'RFC822.SIZE')
|
|
|
|
|
fetchData.size = parseInt(result[i+1], 10);
|
|
|
|
|
else if (typeof result[i] === 'string') // simple extensions
|
|
|
|
|
fetchData[result[i].toLowerCase()] = result[i+1];
|
|
|
|
|
}
|
|
|
|
|