Skip to content

Commit

Permalink
fix: crash when sending HEIC images (#2057)
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamadJaara authored Sep 13, 2023
1 parent b07dccc commit b4ef473
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ enum class AttachmentType {
}

fun isDisplayableImageMimeType(mimeType: String): Boolean = mimeType in setOf(
"image/jpg", "image/jpeg", "image/png", "image/heic", "image/gif", "image/webp"
"image/jpg", "image/jpeg", "image/png", "image/gif", "image/webp"
)

fun isAudioMimeType(mimeType: String): Boolean = mimeType in setOf(
Expand Down

0 comments on commit b4ef473

Please sign in to comment.