Commit 8091683e authored by Mohamed Fenjiro's avatar Mohamed Fenjiro Committed by Adrien Béraud
Browse files

manager: newOutgoingCall and offHoldCall fixes

Change-Id: Icad1d63078de5b27884d91d791213893ce218809
parent 3cfbbb56
......@@ -3090,7 +3090,7 @@ Manager::newOutgoingCall(const std::string& toUrl,
const std::map<std::string, std::string>& volatileCallDetails)
auto account = getAccount(accountId);
if (account and !account->isUsable()) {
if (!account or !account->isUsable()) {
JAMI_WARN("Account is not usable for calling");
return nullptr;
Supports Markdown
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