in transcriptTransformationScript.js [25:36]
function addSeparationAttribute(currEntry) {
if (currEntry['type'] === 'message') {
if (currEntry.hasOwnProperty("attachments") && currEntry["attachments"][0].hasOwnProperty("content") && currEntry["attachments"][0]["content"].hasOwnProperty("body") && currEntry["attachments"][0]["content"]["body"][0].hasOwnProperty("items")) {
for (var item of currEntry["attachments"][0]["content"]["body"][0]["items"]) {
if (item.hasOwnProperty("spacing") && item.hasOwnProperty("isSubtle")) {
item["separation"] = "strong";
}
}
}
}
}