fix(StatusChatInput): fix sending messages by adding missing parameter to sendMessage
This commit is contained in:
parent
cbbe2b46fc
commit
ad8f713f1d
|
@ -271,7 +271,7 @@ StackLayout {
|
||||||
var msg = chatsModel.plainText(Emoji.deparse(chatInput.textInput.text))
|
var msg = chatsModel.plainText(Emoji.deparse(chatInput.textInput.text))
|
||||||
if (msg.length > 0){
|
if (msg.length > 0){
|
||||||
msg = chatInput.interpretMessage(msg)
|
msg = chatInput.interpretMessage(msg)
|
||||||
chatsModel.sendMessage(msg, chatInput.isReply ? SelectedMessage.messageId : "", Utils.isOnlyEmoji(msg) ? Constants.emojiType : Constants.messageType);
|
chatsModel.sendMessage(msg, chatInput.isReply ? SelectedMessage.messageId : "", Utils.isOnlyEmoji(msg) ? Constants.emojiType : Constants.messageType, false);
|
||||||
chatInput.textInput.text = "";
|
chatInput.textInput.text = "";
|
||||||
if(event) event.accepted = true
|
if(event) event.accepted = true
|
||||||
chatInput.messageSound.stop()
|
chatInput.messageSound.stop()
|
||||||
|
|
Loading…
Reference in New Issue