Merge pull request #4573 from nextcloud/bugfix/qml-warning

Fix 'TypeError: Cannot readproperty 'messageSent' of undefined'.
This commit is contained in:
Camila 2022-05-24 15:02:55 +02:00 committed by GitHub
commit a5f5f5081d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,7 +80,7 @@ MouseArea {
Loader {
id: talkReplyTextFieldLoader
active: root.isChatActivity && root.isTalkReplyPossible && root.activityData.messageSent === ""
active: root.isChatActivity && root.isTalkReplyPossible && model.messageSent === ""
visible: root.isTalkReplyOptionVisible
Layout.leftMargin: Style.trayListItemIconSize + activityContent.spacing