mirror of
https://github.com/FirestormViewer/phoenix-firestorm.git
synced 2026-08-14 00:48:30 +00:00
#5492 don't toggle Speak button state while voice is moderated
This commit is contained in:
committed by
Hecklezz
parent
e5bb8395a8
commit
a51cdafc18
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user