summaryrefslogtreecommitdiff
path: root/indra/newview/llparticipantlist.cpp
diff options
context:
space:
mode:
authorDenis Serdjuk <dserduk@productengine.com>2010-01-19 19:49:39 +0200
committerDenis Serdjuk <dserduk@productengine.com>2010-01-19 19:49:39 +0200
commit1d9237e299e152c5a58f89be3da2f40e1e2d7338 (patch)
tree0421d309f3f4988e6d226d3fb2f59c1c45d5a6f3 /indra/newview/llparticipantlist.cpp
parenta2d083f3ce7b490c88285410591dbcf3592609a2 (diff)
fixed bug EXT-4445 [BSI] Can start an IM session with myself and offer items via context menu in group chat participants list
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llparticipantlist.cpp')
-rw-r--r--indra/newview/llparticipantlist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llparticipantlist.cpp b/indra/newview/llparticipantlist.cpp
index 0a180512ce..b049f914ad 100644
--- a/indra/newview/llparticipantlist.cpp
+++ b/indra/newview/llparticipantlist.cpp
@@ -582,7 +582,7 @@ void LLParticipantList::LLParticipantListMenu::moderateVoiceOtherParticipants(co
bool LLParticipantList::LLParticipantListMenu::enableContextMenuItem(const LLSD& userdata)
{
std::string item = userdata.asString();
- if (item == "can_mute_text" || "can_block" == item)
+ if (item == "can_mute_text" || "can_block" == item || "can_share" == item || "can_im" == item)
{
return mUUIDs.front() != gAgentID;
}