From d64883792f3e4f80a3deff48eb3936dec38f52a1 Mon Sep 17 00:00:00 2001
From: Alexandre Savard <alexandresavard@alexandresavard-desktop.(none)>
Date: Thu, 15 Apr 2010 16:09:24 -0400
Subject: [PATCH] [#3233] Send conferenceChange dbus signal when participant is
 removed

---
 sflphone-common/src/managerimpl.cpp | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/sflphone-common/src/managerimpl.cpp b/sflphone-common/src/managerimpl.cpp
index 6fca7bd16e..9db64e3f56 100644
--- a/sflphone-common/src/managerimpl.cpp
+++ b/sflphone-common/src/managerimpl.cpp
@@ -1202,15 +1202,18 @@ void ManagerImpl::removeParticipant (const CallID& call_id) {
 	ConferenceMap::iterator iter = conf_map.find(call->getConfId());
 
 	if (iter == conf_map.end()) {
-		_debug ("    no conference created, cannot remove participant ");
+		_debug ("Manager: Error: No conference created, cannot remove participant");
 	} else {
 
 		conf = iter->second;
 
-		_debug ("    removeParticipant %s", call_id.c_str());
+		_debug ("Manager: Remove participant %s", call_id.c_str());
 		conf->remove(call_id);
 		call->setConfId("");
 
+		_dbus->getCallManager()->conferenceChanged(conf->getConfID(),
+		 					   conf->getStateStr());	
+
 	}
 
 	if (_audiodriver)
-- 
GitLab