Fix blur hash for images and videos.

This commit is contained in:
Michelle Tang
2024-11-05 11:51:55 -05:00
committed by Greyson Parrelli
parent 98590295df
commit 39e91ffb6e
5 changed files with 10 additions and 5 deletions

View File

@@ -1299,7 +1299,8 @@ class AttachmentTable(
REMOTE_INCREMENTAL_DIGEST_CHUNK_SIZE to uploadResult.incrementalDigestChunkSize,
DATA_SIZE to uploadResult.dataSize,
DATA_HASH_END to dataHashEnd,
UPLOAD_TIMESTAMP to uploadResult.uploadTimestamp
UPLOAD_TIMESTAMP to uploadResult.uploadTimestamp,
BLUR_HASH to uploadResult.blurHash
)
val dataFilePath = getDataFilePath(id) ?: throw IOException("No data file found for attachment!")