Revert "This probably won't fix the active voice list issue"

This reverts commit 466f901105.
This commit is contained in:
Lirusaito
2019-08-05 16:41:28 -04:00
parent bcf301ce6a
commit 212bd47d36

View File

@@ -1020,10 +1020,11 @@ LLActiveSpeakerMgr::LLActiveSpeakerMgr() : LLSpeakerMgr(NULL)
void LLActiveSpeakerMgr::updateSpeakerList()
{
// point to whatever the current voice channel is
const auto old_channel = mVoiceChannel;
mVoiceChannel = LLVoiceChannel::getCurrentVoiceChannel();
// always populate from active voice channel
if (LLVoiceChannel::getCurrentVoiceChannel() != mVoiceChannel) //MA: seems this is always false
if (mVoiceChannel != old_channel) //Singu Note: Don't let this always be false.
{
LL_DEBUGS("Speakers") << "Removed all speakers" << LL_ENDL;
fireEvent(new LLSpeakerListChangeEvent(this, LLUUID::null), "clear");