Don't use encryptedByteCount where we should be using unencrypted byte count
This commit is contained in:
parent
f4d61e34ac
commit
d7396f2fe4
@ -58,7 +58,7 @@ public class AttachmentThumbnailServiceImpl: AttachmentThumbnailService {
|
||||
relativeFilePath: attachmentStream.localRelativeFilePath
|
||||
),
|
||||
encryptionKey: attachmentStream.attachment.encryptionKey,
|
||||
plaintextLength: attachmentStream.encryptedByteCount,
|
||||
plaintextLength: attachmentStream.unencryptedByteCount,
|
||||
mimeType: attachmentStream.mimeType
|
||||
)
|
||||
.resized(maxDimensionPoints: quality.thumbnailDimensionPoints())
|
||||
|
||||
Loading…
Reference in New Issue
Block a user