Rename willHaveAttachmentsSavedOnFileSystemDuringUpgrade
New name: `willAttachmentsGoToFileSystemOnUpgrade`
This commit is contained in:
parent
4c4443390a
commit
195e9b777c
1 changed files with 2 additions and 2 deletions
|
@ -209,9 +209,9 @@ exports.createAttachmentDataWriter = (writeExistingAttachmentData) => {
|
|||
}
|
||||
|
||||
const lastVersionWithAttachmentDataInMemory = 2;
|
||||
const willHaveAttachmentsSavedOnFileSystemDuringUpgrade =
|
||||
const willAttachmentsGoToFileSystemOnUpgrade =
|
||||
message.schemaVersion <= lastVersionWithAttachmentDataInMemory;
|
||||
if (willHaveAttachmentsSavedOnFileSystemDuringUpgrade) {
|
||||
if (willAttachmentsGoToFileSystemOnUpgrade) {
|
||||
return message;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue