mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-07 14:44:01 +00:00
Display all call on default account.
This commit is contained in:
parent
0b9130c37e
commit
2285bd2340
1 changed files with 2 additions and 1 deletions
|
|
@ -60,8 +60,9 @@ CallHistoryListModel::~CallHistoryListModel(){
|
|||
|
||||
void CallHistoryListModel::add(const std::list<std::shared_ptr<linphone::CallLog>>& callLogs){
|
||||
QList<QSharedPointer<CallHistoryModel>> toAdd;
|
||||
auto defaultAccount = CoreManager::getInstance()->getCore()->getDefaultAccount();
|
||||
for(auto callLog : callLogs) {
|
||||
if(!callLog->getLocalAddress()->weakEqual(CoreManager::getInstance()->getAccountSettingsModel()->getUsedSipAddress()))
|
||||
if(defaultAccount && !callLog->getLocalAddress()->weakEqual(CoreManager::getInstance()->getAccountSettingsModel()->getUsedSipAddress()))
|
||||
continue;
|
||||
QString confUri;
|
||||
auto remoteAddress = callLog->getRemoteAddress()->clone();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue