SL-17509 The viewer spams warnings if the user is in a parcel or region with voice disabled
parent
ce0286c33b
commit
0fe8493b5a
|
|
@ -1606,8 +1606,21 @@ bool LLVivoxVoiceClient::requestParcelVoiceInfo()
|
|||
}
|
||||
else
|
||||
{
|
||||
LL_WARNS("Voice") << "No voice channel credentials" << LL_ENDL;
|
||||
|
||||
LLVoiceChannel* channel = LLVoiceChannel::getCurrentVoiceChannel();
|
||||
if (channel != NULL)
|
||||
{
|
||||
if (channel->getSessionName().empty() && channel->getSessionID().isNull())
|
||||
{
|
||||
if (LLViewerParcelMgr::getInstance()->allowAgentVoice())
|
||||
{
|
||||
LL_WARNS("Voice") << "No channel credentials for default channel" << LL_ENDL;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
LL_WARNS("Voice") << "No voice channel credentials" << LL_ENDL;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue