Skip to content
Snippets Groups Projects
Commit fb43e4ac authored by Albert  Babí Oller's avatar Albert Babí Oller Committed by Sébastien Blin
Browse files

callmodel: currentCall_ must be reset if holded

forget current call when state == PAUSE in order to make
possible the setCurrentCall afterwards

Change-Id: I663a951d1981f49d52ee7725a8f440d83ade4d61
parent 20dcfda8
Branches
No related tags found
No related merge requests found
...@@ -789,6 +789,8 @@ NewCallModelPimpl::slotCallStateChanged(const QString& callId, const QString& st ...@@ -789,6 +789,8 @@ NewCallModelPimpl::slotCallStateChanged(const QString& callId, const QString& st
if (it != pendingConferences_.end()) { if (it != pendingConferences_.end()) {
linked.joinCalls(it->second, it->first); linked.joinCalls(it->second, it->first);
} }
} else if (call->status == call::Status::PAUSED) {
currentCall_ = "";
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment