From 0310ccb6c6ef0877b3549ed4135eb648d3f50b2b Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Fri, 17 Mar 2017 16:33:58 +0100 Subject: [PATCH] Remove useless condition. --- linphone-desktop/src/components/core/CoreHandlers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linphone-desktop/src/components/core/CoreHandlers.cpp b/linphone-desktop/src/components/core/CoreHandlers.cpp index 3c96cc307..dcc5f0c2c 100644 --- a/linphone-desktop/src/components/core/CoreHandlers.cpp +++ b/linphone-desktop/src/components/core/CoreHandlers.cpp @@ -74,7 +74,7 @@ void CoreHandlers::onNotifyPresenceReceivedForUriOrTel ( const shared_ptr & ) { ContactModel *contact_model = &lf->getData("contact-model"); - if (contact_model) contact_model->presenceReceived(); + contact_model->presenceReceived(); } void CoreHandlers::onRegistrationStateChanged (