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-enginemeow-7.2.2
parent
a9453573d2
commit
f669b484ac
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue