mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-07 05:23:06 +00:00
fix(ui/modules/Linphone/Chat/IncomingMessage): display correctly avatar if exists
This commit is contained in:
parent
13c74be26e
commit
52eb9f2c07
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue