Fixed low bug EXT-3677 (Resident doesn't appear in the nearby voice list after enabling voice)

-- made participant dimmed for a few seconds before disappearing

--HG--
branch : product-engine
meow-7.2.2
Mike Antipov 2009-12-29 16:40:17 +02:00
parent a9453573d2
commit f669b484ac
1 changed files with 7 additions and 15 deletions

View File

@ -565,23 +565,15 @@ void LLCallFloater::updateParticipantsVoiceState()
// HAS LEFT the call.
if ((getState(participant_id) == STATE_JOINED))
{
if (mVoiceType == VC_LOCAL_CHAT)
{
// Don't display avatars that aren't in our nearby chat range anymore as "left". Remove them immediately.
removeVoiceLeftParticipant(participant_id);
}
else
{
setState(item, STATE_LEFT);
setState(item, STATE_LEFT);
LLPointer<LLSpeaker> speaker = mSpeakerManager->findSpeaker(item->getAvatarId());
if (speaker.isNull())
{
continue;
}
speaker->mHasLeftCurrentCall = TRUE;
LLPointer<LLSpeaker> speaker = mSpeakerManager->findSpeaker(item->getAvatarId());
if (speaker.isNull())
{
continue;
}
speaker->mHasLeftCurrentCall = TRUE;
}
// If an avatarID is not found in a speakers list from VoiceClient and
// a panel with this ID has a LEFT status this means that this person