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)