From 35a99acdaffd1dbafd893a96f88363562c0ea37f Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Fri, 2 Aug 2013 16:54:36 -0400 Subject: [PATCH] Fix the issue where mic gets left on after leaving a voice call --- indra/newview/llvoicechannel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llvoicechannel.cpp b/indra/newview/llvoicechannel.cpp index 1e4c68b79..9b6548515 100644 --- a/indra/newview/llvoicechannel.cpp +++ b/indra/newview/llvoicechannel.cpp @@ -279,7 +279,7 @@ void LLVoiceChannel::deactivate() LLVoiceClient::getInstance()->getUserPTTState()) { gSavedSettings.setBOOL("PTTCurrentlyEnabled", true); - LLVoiceClient::getInstance()->inputUserControlState(true); + LLVoiceClient::getInstance()->setUserPTTState(false); // Singu Note: Calling inputUserControlState(true) here sometimes(always?) toggled mic back on, likely due to the above setBOOL } } LLVoiceClient::getInstance()->removeObserver(this);