diff options
author | Dmitry Oleshko <doleshko@productengine.com> | 2009-12-17 16:14:49 +0200 |
---|---|---|
committer | Dmitry Oleshko <doleshko@productengine.com> | 2009-12-17 16:14:49 +0200 |
commit | fd83b1fa11f3f84113560ce4ba6f748af64b0361 (patch) | |
tree | 4f1774b0d34b3bcbb3a7c6a2bd6b5430dd4cb653 /indra/newview | |
parent | 68b687b73e69e90d605680d51452f9ddc7e48e64 (diff) |
fixed normal bug (EXT-3540) Wrong VOICE CHAT names in the "Calling to ..." and "Connecting to ..." voice notifications
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llimview.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp index 28d9f2170d..9e878f8c75 100644 --- a/indra/newview/llimview.cpp +++ b/indra/newview/llimview.cpp @@ -1274,8 +1274,11 @@ void LLCallDialogManager::onVoiceChannelChanged(const LLUUID &session_id) } sSession = session; sSession->mVoiceChannel->setStateChangedCallback(LLCallDialogManager::onVoiceChannelStateChanged); - sPreviousSessionlName = sCurrentSessionlName; - sCurrentSessionlName = session->mName; + if(sCurrentSessionlName != session->mName) + { + sPreviousSessionlName = sCurrentSessionlName; + sCurrentSessionlName = session->mName; + } } void LLCallDialogManager::onVoiceChannelStateChanged(const LLVoiceChannel::EState& old_state, const LLVoiceChannel::EState& new_state, const LLVoiceChannel::EDirection& direction) |