summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2010-04-12 15:38:01 +0300
committerMike Antipov <mantipov@productengine.com>2010-04-12 15:38:01 +0300
commit7e76f26407c6760464b5928b7c6cb8c800a5883f (patch)
treec909a9dae4bd4d33e316b335f17388c86672e50a /indra/newview
parentf98f79be8fdec2cf4d234abe9c6837deef0a81e0 (diff)
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
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llcallfloater.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llcallfloater.cpp b/indra/newview/llcallfloater.cpp
index 1c6857b75c..0b58c8f476 100644
--- a/indra/newview/llcallfloater.cpp
+++ b/indra/newview/llcallfloater.cpp
@@ -601,10 +601,13 @@ void LLCallFloater::updateNotInVoiceParticipantState(LLAvatarListItem* item)
}
}
break;
- case STATE_INVITED:
case STATE_LEFT:
// nothing to do. These states should not be changed.
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:
// 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