Commit 5d5d4fa0 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(ui/modules/Linphone/Contact/Contact): do not display presence if contact...

fix(ui/modules/Linphone/Contact/Contact): do not display presence if contact is not registered in app
parent 0e6faf30
......@@ -48,7 +48,7 @@ Rectangle {
Layout.preferredHeight: ContactStyle.contentHeight
Layout.preferredWidth: ContactStyle.contentHeight
image: _contact && _contact.vcard.avatar
presenceLevel: _contact ? _contact.presenceLevel : Presence.White
presenceLevel: _contact ? _contact.presenceLevel : -1
username: LinphoneUtils.getContactUsername(_contact || _getSipAddress())
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment