From 2fa834446a2b6fd8af44ff99614b498b7b908e55 Mon Sep 17 00:00:00 2001 From: Camila Date: Thu, 19 May 2022 13:28:59 +0200 Subject: [PATCH] Fix 'TypeError: Cannot readproperty 'messageSent' of undefined'. Signed-off-by: Camila --- src/gui/tray/ActivityItem.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/tray/ActivityItem.qml b/src/gui/tray/ActivityItem.qml index 196ce2086..836311790 100644 --- a/src/gui/tray/ActivityItem.qml +++ b/src/gui/tray/ActivityItem.qml @@ -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