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 (