Commit 0310ccb6 authored by Ghislain MARY's avatar Ghislain MARY

Remove useless condition.

parent 82cdd6bc
...@@ -74,7 +74,7 @@ void CoreHandlers::onNotifyPresenceReceivedForUriOrTel ( ...@@ -74,7 +74,7 @@ void CoreHandlers::onNotifyPresenceReceivedForUriOrTel (
const shared_ptr<linphone::PresenceModel> & const shared_ptr<linphone::PresenceModel> &
) { ) {
ContactModel *contact_model = &lf->getData<ContactModel>("contact-model"); ContactModel *contact_model = &lf->getData<ContactModel>("contact-model");
if (contact_model) contact_model->presenceReceived(); contact_model->presenceReceived();
} }
void CoreHandlers::onRegistrationStateChanged ( void CoreHandlers::onRegistrationStateChanged (
......
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