summaryrefslogtreecommitdiff
path: root/indra/newview/llimview.cpp
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2009-12-25 16:31:52 +0200
committerMike Antipov <mantipov@productengine.com>2009-12-25 16:31:52 +0200
commit91a84107576d8d527cf152eda32a9b7091e17e01 (patch)
treed1ed05eae13751a006fbf03a58b8ffc888545d0e /indra/newview/llimview.cpp
parent56b3e7a6b3e988cdff0598bfb8fe6f5eaa7f8adb (diff)
Fixed normal bug EXT-3544 (Voice icon doesn't become "muted" in the voice controls panel after muting a resident)
--added updating of speakers in speaker manager when LLVoiceClient::participantUpdatedEvent and LLViewerChatterBoxSessionAgentListUpdates::post events come. --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llimview.cpp')
-rw-r--r--indra/newview/llimview.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp
index 70f15e0057..388e0c8d8d 100644
--- a/indra/newview/llimview.cpp
+++ b/indra/newview/llimview.cpp
@@ -2534,6 +2534,11 @@ void LLIMMgr::processAgentListUpdates(const LLUUID& session_id, const LLSD& body
if (speaker_mgr)
{
speaker_mgr->updateSpeakers(body);
+
+ // also the same call is added into LLVoiceClient::participantUpdatedEvent because
+ // sometimes it is called AFTER LLViewerChatterBoxSessionAgentListUpdates::post()
+ // when moderation state changed too late. See EXT-3544.
+ speaker_mgr->update(true);
}
else
{