From 49aae680974c5ade8bf366c7276537f63eeadd42 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Tue, 30 Mar 2021 10:52:23 -0400 Subject: [PATCH] chore: fix wrong sound id used in timeline --- ui/app/AppLayouts/Timeline/TimelineLayout.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/app/AppLayouts/Timeline/TimelineLayout.qml b/ui/app/AppLayouts/Timeline/TimelineLayout.qml index 86d2448e0e..96f80224b0 100644 --- a/ui/app/AppLayouts/Timeline/TimelineLayout.qml +++ b/ui/app/AppLayouts/Timeline/TimelineLayout.qml @@ -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); } } }