From 6d169cea7dfb4554ef09aceada33ba715b1df09c Mon Sep 17 00:00:00 2001
From: Nicolas Werner <nicolas.werner@hotmail.de>
Date: Mon, 19 Jul 2021 17:59:38 +0200
Subject: [PATCH] Fix reaction button again

---
 resources/qml/MessageView.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/resources/qml/MessageView.qml b/resources/qml/MessageView.qml
index 4e605ad74..f56af2378 100644
--- a/resources/qml/MessageView.qml
+++ b/resources/qml/MessageView.qml
@@ -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();
-- 
GitLab