summaryrefslogtreecommitdiff
path: root/indra/newview/llvoicechannel.cpp
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2024-03-05 18:57:22 -0800
committerRoxie Linden <roxie@lindenlab.com>2024-03-05 18:57:22 -0800
commit70044b9d2bbc594f0e8f3154feb2dbce77a7af82 (patch)
tree56d3cee5792ca22c93f496b118a9b8adc1057e30 /indra/newview/llvoicechannel.cpp
parent2c2529d3c8452c5c6909c6c9bbda6b4259a29b59 (diff)
The response from the provision account call was being called twice for some reason
Diffstat (limited to 'indra/newview/llvoicechannel.cpp')
-rw-r--r--indra/newview/llvoicechannel.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/indra/newview/llvoicechannel.cpp b/indra/newview/llvoicechannel.cpp
index 9303a09402..c3ffbd5426 100644
--- a/indra/newview/llvoicechannel.cpp
+++ b/indra/newview/llvoicechannel.cpp
@@ -438,12 +438,9 @@ void LLVoiceChannelGroup::activate()
}
}
- //Mic default state is OFF on initiating/joining Ad-Hoc/Group calls
- if (LLVoiceClient::getInstance()->getUserPTTState() && LLVoiceClient::getInstance()->getPTTIsToggle())
- {
- LLVoiceClient::getInstance()->inputUserControlState(true);
- }
-
+ // Mic default state is OFF on initiating/joining Ad-Hoc/Group calls. It's on for P2P using the AdHoc infra.
+
+ LLVoiceClient::getInstance()->setUserPTTState(mNotifyOnFirstJoin);
}
}