At the Singularity group's request: Another attempt to mute voice upon reconnecting to local voice if the setting requests such
This commit is contained in:
@@ -685,6 +685,13 @@ void LLVoiceChannelProximal::activate()
|
||||
// we're connected to a non-spatial channel, so disconnect.
|
||||
LLVoiceClient::getInstance()->leaveNonSpatialChannel();
|
||||
}
|
||||
|
||||
// Singu Note: Mic default state is OFF for local voice
|
||||
if (LLVoiceClient::getInstance()->getUserPTTState() && LLVoiceClient::getInstance()->getPTTIsToggle() && gSavedSettings.getBOOL("AutoDisengageMic"))
|
||||
{
|
||||
LLVoiceClient::getInstance()->inputUserControlState(true);
|
||||
}
|
||||
|
||||
LLVoiceChannel::activate();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user