Commit 91ecfb5c authored by Guillaume Roguez's avatar Guillaume Roguez

manager: prevent current call to be null when a call exist

Prevent to unset current call when we hangup a call in simultaneous
calls context.

Refs #76205

Change-Id: I358e85b3e989cfbc8bd82f212ad993d4632baf7d
parent acaa9dd6
......@@ -576,7 +576,7 @@ Manager::hangupCall(const std::string& callId)
removeParticipant(callId);
} else {
// we are not participating in a conference, current call switched to ""
if (not isConference(currentCallId))
if (not isConference(currentCallId) and isCurrentCall(*call))
unsetCurrentCall();
}
......
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