diff options
author | Cho <cho@lindenlab.com> | 2013-02-25 18:11:51 +0000 |
---|---|---|
committer | Cho <cho@lindenlab.com> | 2013-02-25 18:11:51 +0000 |
commit | cbbf1504f015f42e3426a92129824e05021e1fe3 (patch) | |
tree | 4922b33e421f7c1184330f62793f6f9519e149de /indra/newview/llpanelpeoplemenus.cpp | |
parent | 6194302a849431e84c046325d3cd19e92f62aa6f (diff) | |
parent | 4b6e1c26f05d89aa130a899803553940069457c0 (diff) |
merging
Diffstat (limited to 'indra/newview/llpanelpeoplemenus.cpp')
-rw-r--r-- | indra/newview/llpanelpeoplemenus.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llpanelpeoplemenus.cpp b/indra/newview/llpanelpeoplemenus.cpp index 61e9468ce5..47d6b49a50 100644 --- a/indra/newview/llpanelpeoplemenus.cpp +++ b/indra/newview/llpanelpeoplemenus.cpp @@ -37,6 +37,7 @@ #include "llagentdata.h" // for gAgentID #include "llavataractions.h" #include "llcallingcard.h" // for LLAvatarTracker +#include "lllogchat.h" #include "llviewermenu.h" // for gMenuHolder namespace LLPanelPeopleMenus @@ -180,7 +181,11 @@ bool NearbyMenu::enableContextMenuItem(const LLSD& userdata) { return LLAvatarActions::canOfferTeleport(mUUIDs); } - else if (item == std::string("can_im") || item == std::string("can_callog") || item == std::string("can_invite") || + else if (item == std::string("can_callog")) + { + return LLLogChat::isTranscriptExist(mUUIDs.front()); + } + else if (item == std::string("can_im") || item == std::string("can_invite") || item == std::string("can_share") || item == std::string("can_pay")) { return true; |