Remove useless condition.

This commit is contained in:
Ghislain MARY 2017-03-17 16:33:58 +01:00
parent 82cdd6bc3c
commit 0310ccb6c6

View file

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