From a334ae22e473b0f902a596af9aa532c060ea212b Mon Sep 17 00:00:00 2001
From: Mike Antipov <mantipov@productengine.com>
Date: Mon, 30 Nov 2009 11:45:00 +0200
Subject: [PATCH] Work on major sub-task EXT-2790 (Complete Voice Control Panel
 (floater) started by Lynx (LLVoiceControlPanel))  -- Added updating of the
 speakers list for P2P call

--HG--
branch : product-engine
---
 indra/newview/llimview.cpp | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp
index 2f885787391..24092bab980 100644
--- a/indra/newview/llimview.cpp
+++ b/indra/newview/llimview.cpp
@@ -233,6 +233,12 @@ void LLIMModel::LLIMSession::onVoiceChannelStateChanged(const LLVoiceChannel::ES
 				break;
 			}
 		}
+
+		// Update speakers list when connected
+		if (LLVoiceChannel::STATE_CONNECTED == new_state)
+		{
+			mSpeakers->update(true);
+		}
 	}
 	else  // group || ad-hoc calls
 	{
-- 
GitLab