fix(ui/views/App/MainWindow/Conversation): set correctly avatar

This commit is contained in:
Ronan Abhamon 2016-12-28 15:53:06 +01:00
parent dce2d1eb00
commit b8780f7925

View file

@ -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)
}