SL-12161 FIXED Disabling voice while a call is active leaves the Speak button enabled.

meow-7.2.2
Mnikolenko Productengine 2019-10-21 19:20:57 +03:00
parent 5ee6853d07
commit f60187d224
1 changed files with 1 additions and 0 deletions

View File

@ -5144,6 +5144,7 @@ void LLVivoxVoiceClient::setVoiceEnabled(bool enabled)
{
// Turning voice off looses your current channel -- this makes sure the UI isn't out of sync when you re-enable it.
LLVoiceChannel::getCurrentVoiceChannel()->deactivate();
gAgent.setVoiceConnected(false);
status = LLVoiceClientStatusObserver::STATUS_VOICE_DISABLED;
}