mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 02:10:44 +01:00
Prevent sending sticker attachments with a blank contentType.
This commit is contained in:
committed by
Cody Henthorne
parent
65e1ffaed4
commit
b298cb6f89
@@ -1887,6 +1887,8 @@ class ConversationFragment :
|
||||
stickerRecord.size,
|
||||
stickerLocator,
|
||||
stickerRecord.contentType
|
||||
.takeIf { it.isNotBlank() }
|
||||
?: MediaUtil.IMAGE_WEBP
|
||||
)
|
||||
|
||||
sendMessageWithoutComposeInput(slide = slide, clearCompose = clearCompose)
|
||||
|
||||
Reference in New Issue
Block a user