diff options
author | Mike Antipov <mantipov@productengine.com> | 2010-04-19 15:50:45 +0300 |
---|---|---|
committer | Mike Antipov <mantipov@productengine.com> | 2010-04-19 15:50:45 +0300 |
commit | a16195fb81d7f4c7a5dd60f91d067bbdcac0f44d (patch) | |
tree | 51ae1da47c9d66bdf716d49f4b6ee8f18a4e6614 /indra/newview/llparticipantlist.h | |
parent | 59d296e2008847b944678f6e3b873435e6d5f826 (diff) |
Fixed normal bug EXT-6864 (Resident-related menu items are enabled/displayed for PSTN bridge callers)
* Disabled all currently processed menu items related to interaction with a resident for Avaline callers.
* Added enable callback for View Profile menu item to disable it for Avaline callers.
* Disabled menu items related to text chat.
Full list is:
- View Profile
- Add Friend
- IM
- Call
- Share
- Pay
- Block Text
- Moderate Options:
-- Allow Text chat
DEV notes: To process moderation options separate "on_enable handler" was created for group moderate actions.
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/261/
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llparticipantlist.h')
-rw-r--r-- | indra/newview/llparticipantlist.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llparticipantlist.h b/indra/newview/llparticipantlist.h index 9e5a2cbc1f..bbef8baaac 100644 --- a/indra/newview/llparticipantlist.h +++ b/indra/newview/llparticipantlist.h @@ -158,6 +158,7 @@ class LLParticipantList LLParticipantList& mParent; private: bool enableContextMenuItem(const LLSD& userdata); + bool enableModerateContextMenuItem(const LLSD& userdata); bool checkContextMenuItem(const LLSD& userdata); void sortParticipantList(const LLSD& userdata); |