diff --git a/src/app/currentcall.cpp b/src/app/currentcall.cpp index c813ebafa4e066edd35c563c283067688844c6f5..00485dc126d319ac9b1fd87948a7c9669c7f2a41 100644 --- a/src/app/currentcall.cpp +++ b/src/app/currentcall.cpp @@ -60,8 +60,10 @@ CurrentCall::updateId(QString callId) return; } - // Set the current id_ if there is a call. auto& accInfo = lrcInstance_->getCurrentAccountInfo(); + if (accInfo.profileInfo.type != lrc::api::profile::Type::SIP) + accInfo.callModel->setCurrentCall(callId); + // Set the current id_ if there is a call. set_id((accInfo.callModel->hasCall(callId) ? callId : QString())); }