summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2013-02-20 19:06:49 -0800
committerMerov Linden <merov@lindenlab.com>2013-02-20 19:06:49 -0800
commit3ae9124ce555dada3d14ede28a6658cddcfa53b8 (patch)
tree022bf7a05e811849899f6910c1d7222cf171a463 /indra/newview
parent4eba77e7db0b60a9d422409521162ef4cd541128 (diff)
CHUI-395 : Fixed! Check the moderator status in the group data when loading the group list
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llspeakers.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llspeakers.cpp b/indra/newview/llspeakers.cpp
index a2d8874cea..05df7261e1 100644
--- a/indra/newview/llspeakers.cpp
+++ b/indra/newview/llspeakers.cpp
@@ -557,7 +557,8 @@ void LLSpeakerMgr::updateSpeakerList()
// Add only the members who are online
if (member->getOnlineStatus() == "Online")
{
- setSpeaker(member_it->first, "", LLSpeaker::STATUS_VOICE_ACTIVE, LLSpeaker::SPEAKER_AGENT);
+ LLPointer<LLSpeaker> speakerp = setSpeaker(member_it->first, "", LLSpeaker::STATUS_VOICE_ACTIVE, LLSpeaker::SPEAKER_AGENT);
+ speakerp->mIsModerator = ((member->getAgentPowers() & GP_SESSION_MODERATOR) == GP_SESSION_MODERATOR);
}
++member_it;
}