From b8780f7925e9b7f72aabe0bc23d38793b144c94e Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 28 Dec 2016 15:53:06 +0100 Subject: [PATCH] fix(ui/views/App/MainWindow/Conversation): set correctly avatar --- tests/ui/views/App/MainWindow/Conversation.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ui/views/App/MainWindow/Conversation.qml b/tests/ui/views/App/MainWindow/Conversation.qml index 31cab0929..193f6a330 100644 --- a/tests/ui/views/App/MainWindow/Conversation.qml +++ b/tests/ui/views/App/MainWindow/Conversation.qml @@ -57,7 +57,7 @@ ColumnLayout { Layout.preferredHeight: ConversationStyle.bar.avatarSize Layout.preferredWidth: ConversationStyle.bar.avatarSize - image: _contact.vcard.avatar + image: _contact.vcard ? _contact.vcard.avatar : '' presenceLevel: _contact.presenceLevel || -1 username: LinphoneUtils.getContactUsername(_contact) }