Skip to content
Snippets Groups Projects
Commit 4c74bf9d authored by Sébastien Blin's avatar Sébastien Blin
Browse files

newcallmodel: remove bugguy check for holding calls

In the rendez-vous mode, all calls are in a conference, so the check
is useless and didn't work

Change-Id: I0f35ff24ba7c6981dddbcda730cb3b0d9c55161c
Gitlab: #432
parent d73b2d1f
No related branches found
No related tags found
No related merge requests found
...@@ -631,8 +631,6 @@ NewCallModel::setCurrentCall(const QString& callId) const ...@@ -631,8 +631,6 @@ NewCallModel::setCurrentCall(const QString& callId) const
// Only hold calls for a non rendez-vous point // Only hold calls for a non rendez-vous point
MapStringString callDetails = CallManager::instance().getCallDetails(callId); MapStringString callDetails = CallManager::instance().getCallDetails(callId);
auto accountId = callDetails["ACCOUNTID"]; auto accountId = callDetails["ACCOUNTID"];
MapStringString detailsMap = ConfigurationManager::instance().getAccountDetails(accountId);
if (detailsMap[DRing::Account::ConfProperties::ISRENDEZVOUS] == "FALSE")
CallManager::instance().hold(cid); CallManager::instance().hold(cid);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment