mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
manager: call processRemaining on hangupConference
hangupCall already call exitConference Change-Id: I0666525045101974056ccea6fb07963caf04c6db
This commit is contained in:

committed by
Adrien Béraud

parent
50a7e128f8
commit
6daf7bed0a
@ -267,7 +267,7 @@ Call::setState(CallState call_state, ConnectionState cnx_state, signed code)
|
||||
connectionState_ = cnx_state;
|
||||
auto new_client_state = getStateStr();
|
||||
|
||||
for (auto it = stateChangedListeners_.begin(); it != stateChangedListeners_.end(); ) {
|
||||
for (auto it = stateChangedListeners_.begin(); it != stateChangedListeners_.end();) {
|
||||
if ((*it)(callState_, connectionState_, code))
|
||||
++it;
|
||||
else
|
||||
|
@ -1270,13 +1270,8 @@ Manager::hangupConference(const std::string& id)
|
||||
JAMI_DBG("Hangup conference %s", id.c_str());
|
||||
if (auto conf = getConferenceFromID(id)) {
|
||||
ParticipantSet participants(conf->getParticipantList());
|
||||
for (const auto& callId : participants) {
|
||||
if (auto call = getCallFromCallID(callId)) {
|
||||
call->resetConfInfo();
|
||||
call->exitConference();
|
||||
}
|
||||
for (const auto& callId : participants)
|
||||
hangupCall(callId);
|
||||
}
|
||||
pimpl_->unsetCurrentCall();
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user