summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorRoxanne Skelly <roxie@lindenlab.com>2026-08-18 14:10:08 -0700
committerGitHub <noreply@github.com>2026-08-18 14:10:08 -0700
commit293031f4bb79b72cf0c6dc13d62a33c140657b44 (patch)
tree6184f4d3441b1415f5aab789274f3bb6c8595a1a /indra
parentae3e2ee100b0166525b149aecbde5f68ebc683b2 (diff)
parent07d35b1bf55aa7eb7488820de4058d52649c93b9 (diff)
Merge pull request #6046 from secondlife/roxie/fix-region-incompat-voice
Fix error popup saying voice is incompatible with region voice
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llvoiceclient.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llvoiceclient.cpp b/indra/newview/llvoiceclient.cpp
index b91b4b180b..e005e93cfb 100644
--- a/indra/newview/llvoiceclient.cpp
+++ b/indra/newview/llvoiceclient.cpp
@@ -120,7 +120,7 @@ std::string LLVoiceClientStatusObserver::status2string(LLVoiceClientStatusObserv
LLVoiceModuleInterface *getVoiceModule(const std::string &voice_server_type)
{
#ifndef DISABLE_WEBRTC
- if (voice_server_type == WEBRTC_VOICE_SERVER_TYPE)
+ if (voice_server_type == WEBRTC_VOICE_SERVER_TYPE || voice_server_type.empty())
{
return (LLVoiceModuleInterface *) LLWebRTCVoiceClient::getInstance();
}
@@ -972,7 +972,7 @@ class LLViewerRequiredVoiceVersion : public LLHTTPNode
LLVoiceModuleInterface *voiceModule = NULL;
#ifndef DISABLE_WEBRTC
- if (voice_server_type == "webrtc" || voice_server_type.empty())
+ if (voice_server_type == WEBRTC_VOICE_SERVER_TYPE || voice_server_type.empty())
{
voiceModule = (LLVoiceModuleInterface *) LLWebRTCVoiceClient::getInstance();
}