Prevent sending sticker attachments with a blank contentType.

This commit is contained in:
Jeffrey Starke
2025-04-25 11:22:12 -04:00
committed by Cody Henthorne
parent 65e1ffaed4
commit b298cb6f89
2 changed files with 3 additions and 1 deletions

View File

@@ -1887,6 +1887,8 @@ class ConversationFragment :
stickerRecord.size,
stickerLocator,
stickerRecord.contentType
.takeIf { it.isNotBlank() }
?: MediaUtil.IMAGE_WEBP
)
sendMessageWithoutComposeInput(slide = slide, clearCompose = clearCompose)