Skip to content
Snippets Groups Projects
Commit 7e76f264 authored by Mike Antipov's avatar Mike Antipov
Browse files

Fixed normal bug EXT-6660 (Just logged on resident is displayed as connected...

Fixed normal bug EXT-6660 (Just logged on resident is displayed as connected to group voice chat in the VCP)

Reason.
 VCP floater stores voice states of its participants. If invited in group voice chat avatar goes offline and then online LLAvatarListItem representing it will display it as JOINED.

Fix: added force setting of voice state in VCP for added participants.

Reviewed by Vadim at https://codereview.productengine.com/secondlife/r/218/

--HG--
branch : product-engine
parent f98f79be
No related branches found
No related tags found
No related merge requests found
...@@ -601,10 +601,13 @@ void LLCallFloater::updateNotInVoiceParticipantState(LLAvatarListItem* item) ...@@ -601,10 +601,13 @@ void LLCallFloater::updateNotInVoiceParticipantState(LLAvatarListItem* item)
} }
} }
break; break;
case STATE_INVITED:
case STATE_LEFT: case STATE_LEFT:
// nothing to do. These states should not be changed. // nothing to do. These states should not be changed.
break; break;
case STATE_INVITED:
// If avatar was invited into group chat and went offline it is still exists in mSpeakerStateMap
// If it goes online it will be rendered as JOINED via LAvatarListItem.
// Lets update its visual representation. See EXT-6660
case STATE_UNKNOWN: case STATE_UNKNOWN:
// If an avatarID is not found in a speakers list from VoiceClient and // If an avatarID is not found in a speakers list from VoiceClient and
// a panel with this ID has an UNKNOWN status this means that this person // a panel with this ID has an UNKNOWN status this means that this person
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment