diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-02-11 19:01:28 +0200 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-02-11 19:01:28 +0200 |
commit | 3a8053eb9fc0db52b9fb5ae02f1807acbb4e072d (patch) | |
tree | 3fdc85528257aad43976f0af92c7f40d2e595d3c /indra/newview/lloutputmonitorctrl.h | |
parent | b31cd0a7e927920fae820582fcff78078e6f3bfc (diff) |
SL-10351 Fixed Avatars muted by Group moderator become Blocked forever
Diffstat (limited to 'indra/newview/lloutputmonitorctrl.h')
-rw-r--r-- | indra/newview/lloutputmonitorctrl.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/lloutputmonitorctrl.h b/indra/newview/lloutputmonitorctrl.h index 0682af1278..af52a81b04 100644 --- a/indra/newview/lloutputmonitorctrl.h +++ b/indra/newview/lloutputmonitorctrl.h @@ -72,7 +72,10 @@ public: void setPower(F32 val); F32 getPower(F32 val) const { return mPower; } - + + bool getIsMuted() const { return (mIsMuted || mIsModeratorMuted); } + void setIsModeratorMuted(bool val) { mIsModeratorMuted = val; } + // For the current user, need to know the PTT state to show // correct button image. void setIsAgentControl(bool val) { mIsAgentControl = val; } @@ -131,6 +134,7 @@ private: F32 mPower; bool mIsAgentControl; + bool mIsModeratorMuted; bool mIsMuted; bool mIsTalking; bool mShowParticipantsSpeaking; |