EXT-3874 Lindens can (appear to) be blocked from avatar info popup

meow-7.2.2
Leyla Farazha 2010-01-08 11:53:03 -08:00
parent 35bb14951f
commit e04752c165
1 changed files with 4 additions and 1 deletions

View File

@ -520,7 +520,10 @@ void LLInspectAvatar::updateVolumeSlider()
bool voice_enabled = gVoiceClient->getVoiceEnabled(mAvatarID);
LLUICtrl* mute_btn = getChild<LLUICtrl>("mute_btn");
mute_btn->setEnabled( voice_enabled );
bool is_linden = LLStringUtil::endsWith(mAvatarName, " Linden");
mute_btn->setEnabled( voice_enabled && !is_linden);
mute_btn->setValue( is_muted );
LLUICtrl* volume_slider = getChild<LLUICtrl>("volume_slider");