Commit 511b80ec authored by Sébastien Blin's avatar Sébastien Blin

newcallmodel: get conferences info at creation

Change-Id: Ic70badc5bd8a2a20599fee3d7f5513b83929cc83
parent 90f70aca
......@@ -876,6 +876,9 @@ NewCallModelPimpl::slotConferenceCreated(const QString& confId)
callInfo->status = call::Status::IN_PROGRESS;
callInfo->type = call::Type::CONFERENCE;
callInfo->startTime = std::chrono::steady_clock::now();
callInfo->participantsInfos = CallManager::instance().getConferenceInfos(confId);
for (auto& i: callInfo->participantsInfos)
i["uri"].replace("@ring.dht", "");
calls[confId] = callInfo;
QStringList callList = CallManager::instance().getParticipantList(confId);
foreach(const auto& call, callList) {
......
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