From b30c7445b0e19f16f13ae0bcdaed9b2441a40f47 Mon Sep 17 00:00:00 2001
From: Eugene Mutavchi <emutavchi@productengine.com>
Date: Thu, 24 Dec 2009 20:02:19 +0200
Subject: [PATCH] No ticket: added updating of speaker manager for sorting
 participant list by recent speakers order.

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

diff --git a/indra/newview/llparticipantlist.cpp b/indra/newview/llparticipantlist.cpp
index 7d5944ea2b2..27a5c484434 100644
--- a/indra/newview/llparticipantlist.cpp
+++ b/indra/newview/llparticipantlist.cpp
@@ -212,6 +212,8 @@ void LLParticipantList::updateRecentSpeakersOrder()
 {
 	if (E_SORT_BY_RECENT_SPEAKERS == getSortOrder())
 	{
+		// Need to update speakers to sort list correctly
+		mSpeakerMgr->update(true);
 		// Resort avatar list
 		sort();
 	}
-- 
GitLab