Merge remote-tracking branch 'private/for-merging'

This commit is contained in:
Juan Tejada 2017-04-17 22:43:25 -07:00
commit 93abaec09a

View file

@ -33,7 +33,7 @@ export function pathForBodyFile(msgId) {
remainingId = remainingId.substring(2);
}
const bodyPath = path.join(...pathGroups);
return path.join(baseMessagePath, bodyPath, `${remainingId}.${FILE_EXTENSION}`);
return path.join(baseMessagePath(), bodyPath, `${remainingId}.${FILE_EXTENSION}`);
}
// NB: The return value of this function is what gets written into the database.