Commit 3c15299f authored by Ming Rui Zhang's avatar Ming Rui Zhang Committed by Sébastien Blin

calls: fix the client crash when having multiple calls

Gitlab: #236
Change-Id: I9f9af107db27cfe8ab09911b2f2b0516f56d2578
parent 1c8ca295
......@@ -230,7 +230,7 @@ CallAdapter::updateCall(const QString& convUid, const QString& accountId, bool f
if (call->status == lrc::api::call::Status::IN_PROGRESS) {
LRCInstance::renderer()->addDistantRenderer(call->id);
LRCInstance::getAccountInfo(accountId).callModel->setCurrentCall(call->id);
LRCInstance::getAccountInfo(accountId_).callModel->setCurrentCall(call->id);
}
}
......
Markdown is supported
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