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
1 changed files with 1 additions and 1 deletions

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