fix(FileMessage): show avatar if possible

This commit is contained in:
Ronan Abhamon 2017-06-29 12:51:56 +02:00
parent 97a100c79e
commit cdfff23c35

View file

@ -26,7 +26,7 @@ Row {
height: ChatStyle.entry.message.incoming.avatarSize
width: 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)
}
}