From 7e7831cdde0536fdccff2a36eda4803fc84292c4 Mon Sep 17 00:00:00 2001 From: Greyson Parrelli Date: Fri, 1 Nov 2024 14:07:11 -0400 Subject: [PATCH] Be more specific about which blurhashes to throw out. --- .../java/org/thoughtcrime/securesms/database/AttachmentTable.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/database/AttachmentTable.kt b/app/src/main/java/org/thoughtcrime/securesms/database/AttachmentTable.kt index a773087c60..ba443069dd 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/database/AttachmentTable.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/database/AttachmentTable.kt @@ -2453,7 +2453,7 @@ class AttachmentTable( contentValues.put(TRANSFORM_PROPERTIES, transformProperties.serialize()) contentValues.put(ATTACHMENT_UUID, attachment.uuid?.toString()) - if (attachment.transformProperties?.videoEdited == true) { + if (attachment.transformProperties?.videoTrimStartTimeUs != 0L) { contentValues.putNull(BLUR_HASH) } else { contentValues.put(BLUR_HASH, uploadTemplate.getVisualHashStringOrNull())