Commit c7db0134 authored by nicolas's avatar nicolas

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

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