diff options
| author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2025-10-30 16:59:51 +0200 |
|---|---|---|
| committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2025-10-30 16:59:51 +0200 |
| commit | cf048cf9c3ebd9ca8ee1e606b69bc459b62ed1c5 (patch) | |
| tree | 9864a2073a056ee6fd6b7391a2c39b885bb09363 /indra/newview/llvoiceclient.cpp | |
| parent | 21e9b38f06e187414d30c12c8c69ebf7b4e4e636 (diff) | |
#4013 Update voice moderator options; show notifications when muted; add stub code for info request
Diffstat (limited to 'indra/newview/llvoiceclient.cpp')
| -rw-r--r-- | indra/newview/llvoiceclient.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llvoiceclient.cpp b/indra/newview/llvoiceclient.cpp index 71a9e71a9f..5a2ef248ba 100644 --- a/indra/newview/llvoiceclient.cpp +++ b/indra/newview/llvoiceclient.cpp @@ -39,6 +39,7 @@ #include "llagent.h" #include "lltrans.h" #include "lluiusage.h" +#include "llnearbyvoicemoderation.h" const F32 LLVoiceClient::OVERDRIVEN_POWER_LEVEL = 0.7f; @@ -712,6 +713,9 @@ bool LLVoiceClient::getPTTIsToggle() void LLVoiceClient::inputUserControlState(bool down) { + if (down && !getUserPTTState()) + LLNearbyVoiceModeration::getInstance()->showNotificationIfNeeded(); + if(mPTTIsToggle) { if(down) // toggle open-mic state on 'down' |
