Fix reaction button again

This commit is contained in:
Nicolas Werner 2021-07-19 17:59:38 +02:00
parent 752ffa5c51
commit 6d169cea7d
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -101,7 +101,7 @@ ScrollView {
image: ":/icons/icons/ui/smile.png"
ToolTip.visible: hovered
ToolTip.text: qsTr("React")
onClicked: emojiPopup.visible ? emojiPopup.close() : emojiPopup.show(emojiButton, function(emoji) {
onClicked: emojiPopup.visible ? emojiPopup.close() : emojiPopup.show(reactButton, function(emoji) {
var event_id = row.model ? row.model.eventId : "";
room.input.reaction(event_id, emoji);
TimelineManager.focusMessageInput();