Rename `willHaveAttachmentsSavedOnFileSystemDuringUpgrade`

New name: `willAttachmentsGoToFileSystemOnUpgrade`
pull/1/head
Daniel Gasienica 7 years ago
parent 4c4443390a
commit 195e9b777c

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

Loading…
Cancel
Save