fix(ui/views/App/Calls/Incall): display username of sip address (not contact)

This commit is contained in:
Ronan Abhamon 2017-06-14 11:12:17 +02:00
parent d016f4812a
commit e97d7ec9f9

View file

@ -144,7 +144,7 @@ Rectangle {
anchors.centerIn: parent
horizontalTextAlignment: Text.AlignHCenter
sipAddress: ''
username: LinphoneUtils.getContactUsername(_sipAddressObserver.contact || sipAddress)
username: LinphoneUtils.getContactUsername(_sipAddressObserver.contact || _sipAddressObserver.sipAddress)
height: parent.height
width: parent.width - rightActions.width - leftActions.width - CallStyle.header.contactDescription.width