From 5d5d4fa0e2ef19f257091a7b9817bc5c1b63a548 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 29 Dec 2016 11:56:47 +0100 Subject: [PATCH] fix(ui/modules/Linphone/Contact/Contact): do not display presence if contact is not registered in app --- tests/ui/modules/Linphone/Contact/Contact.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ui/modules/Linphone/Contact/Contact.qml b/tests/ui/modules/Linphone/Contact/Contact.qml index cbc6ecc38..3fd4c9de7 100644 --- a/tests/ui/modules/Linphone/Contact/Contact.qml +++ b/tests/ui/modules/Linphone/Contact/Contact.qml @@ -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()) }