Rename willHaveAttachmentsSavedOnFileSystemDuringUpgrade

New name: `willAttachmentsGoToFileSystemOnUpgrade`
This commit is contained in:
Daniel Gasienica 2018-04-04 19:03:00 -04:00
parent 4c4443390a
commit 195e9b777c

View file

@ -209,9 +209,9 @@ exports.createAttachmentDataWriter = (writeExistingAttachmentData) => {
}
const lastVersionWithAttachmentDataInMemory = 2;
const willHaveAttachmentsSavedOnFileSystemDuringUpgrade =
const willAttachmentsGoToFileSystemOnUpgrade =
message.schemaVersion <= lastVersionWithAttachmentDataInMemory;
if (willHaveAttachmentsSavedOnFileSystemDuringUpgrade) {
if (willAttachmentsGoToFileSystemOnUpgrade) {
return message;
}