summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndrew Dyukov <adyukov@productengine.com>2010-04-13 21:51:18 +0300
committerAndrew Dyukov <adyukov@productengine.com>2010-04-13 21:51:18 +0300
commit93317037ee4ed4aa7155ae9253800f8977224f73 (patch)
treeb2c7946ba6eca151e56c7e3714da6a0a4f0dd76a /indra
parent91e00620d8ac1f57c8e22ca568ba2d0fcd7cbdfc (diff)
Fixed low bug EXT-5844 (Group chat invite appears when voice is disabled because connection problem).
- Added additional check for client's voice working properly before inviting to session. Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/228/ --HG-- branch : product-engine
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llimview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp
index 92b994ad67..10146ee9d3 100644
--- a/indra/newview/llimview.cpp
+++ b/indra/newview/llimview.cpp
@@ -3077,7 +3077,7 @@ public:
return;
}
- if(!LLVoiceClient::voiceEnabled())
+ if(!LLVoiceClient::voiceEnabled() || !LLVoiceClient::getInstance()->voiceWorking())
{
// Don't display voice invites unless the user has voice enabled.
return;