mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-28 04:13:18 +01:00
Prevent >64k text in composition box; truncate too-large drafts
This commit is contained in:
@@ -323,6 +323,7 @@
|
||||
onSubmit: message => this.sendMessage(message),
|
||||
onEditorStateChange: (msg, caretLocation) =>
|
||||
this.onEditorStateChange(msg, caretLocation),
|
||||
onTextTooLong: () => this.showToast(Whisper.MessageBodyTooLongToast),
|
||||
onChooseAttachment: this.onChooseAttachment.bind(this),
|
||||
micCellEl,
|
||||
attachmentListEl,
|
||||
|
||||
Reference in New Issue
Block a user