From 52eb9f2c07094d54a55a6218677ad851496f428b Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 19 May 2017 15:17:40 +0200 Subject: [PATCH] fix(ui/modules/Linphone/Chat/IncomingMessage): display correctly avatar if exists --- linphone-desktop/ui/modules/Linphone/Chat/IncomingMessage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linphone-desktop/ui/modules/Linphone/Chat/IncomingMessage.qml b/linphone-desktop/ui/modules/Linphone/Chat/IncomingMessage.qml index 412cb384a..608165a3b 100644 --- a/linphone-desktop/ui/modules/Linphone/Chat/IncomingMessage.qml +++ b/linphone-desktop/ui/modules/Linphone/Chat/IncomingMessage.qml @@ -20,7 +20,7 @@ RowLayout { Avatar { anchors.centerIn: parent height: ChatStyle.entry.message.incoming.avatarSize - image: chat.sipAddressObserver.contact ? chat.sipAddressObserver.contact.avatar : '' + image: chat.sipAddressObserver.contact ? chat.sipAddressObserver.contact.vcard.avatar : '' username: LinphoneUtils.getContactUsername(chat.sipAddressObserver.contact || proxyModel.sipAddress) width: ChatStyle.entry.message.incoming.avatarSize