mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-04 18:55:44 +00:00
fix: markdown leading space
This commit is contained in:
parent
398a6b2fc0
commit
dacbadbed1
@ -338,7 +338,7 @@ Rectangle {
|
||||
if(control.isImage){
|
||||
chatsModel.sendImage(imageArea.imageSource);
|
||||
}
|
||||
var msg = chatsModel.plainText(Emoji.deparse(messageInputField.text).trim()).trim()
|
||||
var msg = chatsModel.plainText(Emoji.deparse(messageInputField.text))
|
||||
if(msg.length > 0){
|
||||
msg = interpretMessage(msg)
|
||||
chatsModel.sendMessage(msg, control.isReply ? SelectedMessage.messageId : "", Utils.isOnlyEmoji(msg) ? Constants.emojiType : Constants.messageType);
|
||||
|
Loading…
x
Reference in New Issue
Block a user