Skip to content
Snippets Groups Projects
Commit acc39897 authored by Sébastien Blin's avatar Sébastien Blin Committed by Kateryna Kostiuk
Browse files

newcallmodel: add hack to auto answer


Change-Id: I3548bb3aee4b0085439a271e2fa67546cc34c5b9
Reviewed-by: default avatarKateryna <Kostiuk&lt;kateryna.kostiuk@savoirfairelinux.com>
parent d0a38b94
No related branches found
No related tags found
Loading
......@@ -483,6 +483,11 @@ NewCallModelPimpl::slotIncomingCall(const std::string& accountId, const std::str
calls.emplace(callId, std::move(callInfo));
emit linked.newIncomingCall(fromId, callId);
// HACK. BECAUSE THE DAEMON DOESN'T HANDLE THIS CASE!
if (linked.owner.confProperties.autoAnswer) {
linked.accept(callId);
}
}
void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment