Fix attachment reconciliation bugs stemming from incorrect base64 encoded remote_key.

This commit is contained in:
Cody Henthorne
2025-08-12 09:57:29 -04:00
committed by GitHub
parent 709ff90d35
commit 150e98bbc1
5 changed files with 60 additions and 12 deletions

View File

@@ -55,7 +55,7 @@ class ArchivedAttachment : Attachment {
fileName = fileName,
cdn = Cdn.fromCdnNumber(cdn),
remoteLocation = cdnKey,
remoteKey = Base64.encodeWithoutPadding(key),
remoteKey = Base64.encodeWithPadding(key),
remoteDigest = null,
incrementalDigest = incrementalMac,
fastPreflightId = null,