SL-15351 'Speak' button remains active on the parcel with disabled voice
parent
a4595bdaf2
commit
261ba33537
|
|
@ -4609,6 +4609,12 @@ bool LLVivoxVoiceClient::switchChannel(
|
|||
// The old session may now need to be deleted.
|
||||
reapSession(oldSession);
|
||||
|
||||
// If voice was on, turn it off
|
||||
if (LLVoiceClient::getInstance()->getUserPTTState())
|
||||
{
|
||||
LLVoiceClient::getInstance()->setUserPTTState(false);
|
||||
}
|
||||
|
||||
notifyStatusObservers(LLVoiceClientStatusObserver::STATUS_VOICE_DISABLED);
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue