fix(CallModel): deal with auto-answer only when call state is incoming

This commit is contained in:
nicolas 2017-09-07 14:23:53 +02:00
parent fe9575d18f
commit c7db013481

View file

@ -44,7 +44,7 @@ CallModel::CallModel (shared_ptr<linphone::Call> call) {
updateIsInConference();
// Deal with auto-answer.
{
if (!isOutgoing()) {
SettingsModel *settings = CoreManager::getInstance()->getSettingsModel();
if (settings->getAutoAnswerStatus()) {