Fix getting connection in message edit component

This commit is contained in:
James Graham
2023-09-15 18:35:23 +01:00
parent 78f676d71a
commit 6bf552398e

View File

@@ -11,8 +11,7 @@ import org.kde.neochat 1.0
QQC2.TextArea {
id: root
property NeoChatRoom room
required property NeoChatConnection connection
required property NeoChatRoom room
onRoomChanged: room.chatBoxEditIdChanged.connect(updateEditText)
property string messageId
@@ -102,7 +101,7 @@ QQC2.TextArea {
height: implicitHeight
y: -height - 5
z: 10
connection: root.connection
connection: root.room.connection
chatDocumentHandler: documentHandler
Behavior on height {
NumberAnimation {