chore: fix wrong sound id used in timeline

This commit is contained in:
Jonathan Rainville 2021-03-30 10:52:23 -04:00 committed by Iuri Matias
parent 1bc3fa1c97
commit 49aae68097
1 changed files with 2 additions and 2 deletions

View File

@ -85,8 +85,8 @@ ScrollView {
chatsModel.sendMessage(msg, "", Utils.isOnlyEmoji(msg) ? Constants.emojiType : Constants.messageType, true, "");
statusUpdateInput.textInput.text = "";
if(event) event.accepted = true
statusUpdateInput.messageSound.stop()
Qt.callLater(statusUpdateInput.messageSound.play);
sendMessageSound.stop()
Qt.callLater(sendMessageSound.play);
}
}
}