go ahead and restart voice negotiation when voice is re-enabled

meow-7.2.2
Roxie Linden 2023-09-14 22:48:55 -07:00
parent e0126bfe90
commit af2842793d
1 changed files with 1 additions and 1 deletions

View File

@ -704,7 +704,7 @@ void LLWebRTCVoiceClient::voiceControlStateMachine()
break;
case VOICE_STATE_WAIT_FOR_EXIT:
if (mRelogRequested && mVoiceEnabled)
if (mVoiceEnabled)
{
LL_INFOS("Voice") << "will attempt to reconnect to voice" << LL_ENDL;
setVoiceControlStateUnless(VOICE_STATE_TP_WAIT);