From d3360cdbf830552ed28c6345e89ac8fb6d79eb74 Mon Sep 17 00:00:00 2001 From: Gaelle Braud Date: Fri, 22 Aug 2025 16:20:00 +0200 Subject: [PATCH] fix #LINQT-1799 default contact avatar --- Linphone/view/Control/Display/Chat/ChatListView.qml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Linphone/view/Control/Display/Chat/ChatListView.qml b/Linphone/view/Control/Display/Chat/ChatListView.qml index 6f7dff9a7..401693a68 100644 --- a/Linphone/view/Control/Display/Chat/ChatListView.qml +++ b/Linphone/view/Control/Display/Chat/ChatListView.qml @@ -176,14 +176,9 @@ ListView { anchors.bottomMargin: Math.round(9 * DefaultStyle.dp) spacing: Math.round(10 * DefaultStyle.dp) Avatar { - id: historyAvatar property var contactObj: modelData ? UtilsCpp.findFriendByAddress(modelData.core.peerAddress) : null contact: contactObj?.value || null - displayNameVal: contact - ? undefined - : modelData - ? modelData.core.avatarUri - : null + displayNameVal: modelData.core.avatarUri secured: modelData?.core.isSecured || false Layout.preferredWidth: Math.round(45 * DefaultStyle.dp) Layout.preferredHeight: Math.round(45 * DefaultStyle.dp)