Skip to content

Commit

Permalink
Migration fix.
Browse files Browse the repository at this point in the history
Signed-off-by: alex-z <[email protected]>
  • Loading branch information
allexzander committed Jan 18, 2024
1 parent ef093ee commit 059991c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsync/foldermetadata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ bool FolderMetadata::isRootEncryptedFolder() const
bool FolderMetadata::encryptedMetadataNeedUpdate() const
{
// TODO: For now we do not migrated to V2 if a folder has subfolders, remove the following code and only leave "return latestSupportedMetadataVersion() > _existingMetadataVersion;"
if (latestSupportedMetadataVersion() <= _existingMetadataVersion || latestSupportedMetadataVersion() >= MetadataVersion::Version2_0) {
if (latestSupportedMetadataVersion() <= _existingMetadataVersion) {
return false;
}

Expand Down

0 comments on commit 059991c

Please sign in to comment.