Parser: body structure can be either 'BODY' or 'BODYSTRUCTURE'

fork
mscdex 12 years ago
parent a1295a31de
commit 15727c5ac1

@ -329,7 +329,7 @@ function parseFetch(text, literals) {
val = parseFetchEnvelope(val);
else if (key === 'internaldate')
val = new Date(val);
else if (key === 'body')
else if (key === 'body' || key === 'bodystructure')
val = parseBodyStructure(val);
attrs[key] = val;
}

Loading…
Cancel
Save