Automated merge with https://hg.aws.productengine.com/secondlife/viewer-2-0/
--HG-- branch : product-enginemeow-7.2.2
commit
4d8c14aa8f
|
|
@ -584,7 +584,7 @@ bool LLParticipantList::LLParticipantListMenu::enableContextMenuItem(const LLSD&
|
|||
{
|
||||
std::string item = userdata.asString();
|
||||
if (item == "can_mute_text" || "can_block" == item || "can_share" == item || "can_im" == item
|
||||
|| "can_pay" == item || "can_add" == item)
|
||||
|| "can_pay" == item)
|
||||
{
|
||||
return mUUIDs.front() != gAgentID;
|
||||
}
|
||||
|
|
@ -619,7 +619,7 @@ bool LLParticipantList::LLParticipantListMenu::enableContextMenuItem(const LLSD&
|
|||
|
||||
for (;id != uuids_end; ++id)
|
||||
{
|
||||
if ( LLAvatarActions::isFriend(*id) )
|
||||
if ( *id == gAgentID || LLAvatarActions::isFriend(*id) )
|
||||
{
|
||||
result = false;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue