#5492 don't toggle Speak button state while voice is moderated

This commit is contained in:
Maxim Nikolenko
2026-05-06 03:09:37 +10:00
committed by Hecklezz
parent e5bb8395a8
commit a51cdafc18
+3
View File
@@ -689,6 +689,9 @@ void LLVoiceClient::setUserPTTState(bool ptt)
{
if (ptt)
{
// Nearby chat is muted by moderator, don't toggle PTT
if (!mUserPTTState && LLNearbyVoiceModeration::getInstance()->showNotificationIfNeeded())
return;
LLUIUsage::instance().logCommand("Agent.EnableMicrophone");
}
mUserPTTState = ptt;