Explicitely set room for EmojiPicker

This commit is contained in:
Tobias Fella
2023-08-07 22:47:23 +02:00
parent 794683b5d2
commit fe3516b044
2 changed files with 2 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ ColumnLayout {
property bool includeCustom: false
property bool showQuickReaction: false
property NeoChatRoom currentRoom
readonly property var currentEmojiModel: {
if (includeCustom) {

View File

@@ -60,6 +60,7 @@ QQC2.Popup {
currentRoom: root.currentRoom
includeCustom: emojiPopup.includeCustom
showQuickReaction: emojiPopup.showQuickReaction
currentRoom: RoomManager.currentRoom
onChosen: {
emojiPopup.chosen(emoji)
if (emojiPopup.closeOnChosen) emojiPopup.close()