Skip to content

Commit

Permalink
Merge pull request #4573 from nextcloud/bugfix/qml-warning
Browse files Browse the repository at this point in the history
Fix 'TypeError: Cannot readproperty 'messageSent' of undefined'.
  • Loading branch information
Camila authored May 24, 2022
2 parents 084fdc0 + 2fa8344 commit a5f5f50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/tray/ActivityItem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a5f5f50

Please sign in to comment.