Skip to content

Commit

Permalink
fix: crash when sending HEIC images (#2057) (#2059)
Browse files Browse the repository at this point in the history
Co-authored-by: Mohamad Jaara <[email protected]>
  • Loading branch information
github-actions[bot] and MohamadJaara authored Sep 15, 2023
1 parent 6a9ac7a commit 9e1f194
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 9e1f194

Please sign in to comment.