Remove unnecessary force and safe checks.

Resolves #13766
This commit is contained in:
Grzegorz Bobryk
2024-11-03 13:35:20 +01:00
committed by Greyson Parrelli
parent 3a5dc4e731
commit be92b3cf0a
6 changed files with 7 additions and 7 deletions

View File

@@ -69,7 +69,7 @@ object AttachmentUploadUtil {
@Throws(IOException::class)
private fun getImageBlurHash(context: Context, attachment: Attachment): String? {
if (attachment.blurHash != null) {
return attachment.blurHash!!.hash
return attachment.blurHash.hash
}
if (attachment.uri == null) {