diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-11-16 18:41:29 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-11-25 19:05:12 +0100 |
commit | 82c441dddd9d57f858c62c9fd3c8718d44ca3d7b (patch) | |
tree | 757ceef955e6e7574a25dd4f874a69f0ee0dcddb /resources/qml/TimelineView.qml | |
parent | Use old style connection (for Qt5.12) (diff) | |
download | nheko-82c441dddd9d57f858c62c9fd3c8718d44ca3d7b.tar.xz |
Move emoji picker to qml
Diffstat (limited to 'resources/qml/TimelineView.qml')
-rw-r--r-- | resources/qml/TimelineView.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml index 5fce0846..c23564c1 100644 --- a/resources/qml/TimelineView.qml +++ b/resources/qml/TimelineView.qml @@ -72,7 +72,9 @@ Page { MenuItem { text: qsTr("React") - onClicked: emojiPopup.show(messageContextMenu.parent, messageContextMenu.eventId) + onClicked: emojiPopup.show(messageContextMenu.parent, function(emoji) { + TimelineManager.queueReactionMessage(messageContextMenu.eventId, emoji); + }) } MenuItem { |