Skip to content

Commit

Permalink
Merge pull request #49903 from nextcloud/encryption-version-version
Browse files Browse the repository at this point in the history
fix: restore updated encrypted version when copying versions
  • Loading branch information
come-nc authored Jan 7, 2025
2 parents 4d15acf + 012a402 commit c975758
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/private/Files/Storage/Wrapper/Encryption.php
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,7 @@ private function copyBetweenStorage(
$info->getUnencryptedSize()
);
}
$this->updateEncryptedVersion($sourceStorage, $sourceInternalPath, $targetInternalPath, $isRename, true);
}
return $result;
}
Expand Down

0 comments on commit c975758

Please sign in to comment.