conference: fix confInfo update

Send confInfo update after a remote conference is
finished

Change-Id: I8992ac468899cfe23c97fc6e4d6449ff29905587
This commit is contained in:
Pierre Lespagnol
2021-03-25 12:00:54 -04:00
committed by Adrien Béraud
parent 967c11a031
commit ac5d3bad64

View File

@ -1029,7 +1029,9 @@ Conference::mergeConfInfo(ConfInfo& newInfo, const std::string& peerURI)
{
if (newInfo.empty()) {
JAMI_DBG("confInfo empty, remove remoteHost");
std::lock_guard<std::mutex> lk(confInfoMutex_);
remoteHosts_.erase(peerURI);
sendConferenceInfos();
return;
}