Skip to content
Snippets Groups Projects
Commit b26f9e3f authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#3233] Send conferenceChanged dbus signal in detach participant

parent 8b23bf70
No related branches found
No related tags found
No related merge requests found
......@@ -1156,15 +1156,19 @@ void ManagerImpl::detachParticipant (const CallID& call_id,
onHoldCall(call_id);
removeParticipant(call_id);
processRemainingParticipant(current_call_id, conf);
_dbus->getCallManager()->conferenceChanged(conf->getConfID(),
conf->getStateStr());
}
} else {
}
else {
_debug ("Manager: Call is not conferencing, cannot detach");
}
} else {
}
else {
_debug ("Manager: Unbind main participant from all");
_audiodriver->getMainBuffer()->unBindAll(default_id);
......@@ -1211,9 +1215,6 @@ void ManagerImpl::removeParticipant (const CallID& call_id) {
conf->remove(call_id);
call->setConfId("");
_dbus->getCallManager()->conferenceChanged(conf->getConfID(),
conf->getStateStr());
}
if (_audiodriver)
......@@ -1648,8 +1649,8 @@ void ManagerImpl::peerHungupCall (const CallID& call_id) {
if (conf != NULL) {
removeParticipant(call_id);
processRemainingParticipant(current_call_id, conf);
}
} else {
if (isCurrentCall(call_id)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment