MAINT-3484 FIXED Disable menu item if transcript doesn't exist.

meow-7.2.2
Mnikolenko ProductEngine 2014-02-05 11:43:09 +02:00
parent 01535d0808
commit 3cb2dc6275
1 changed files with 6 additions and 1 deletions

View File

@ -1320,7 +1320,12 @@ bool LLFloaterIMContainer::enableContextMenuItem(const std::string& item, uuid_v
// Extract the single select info
bool is_single_select = (uuids.size() == 1);
const LLUUID& single_id = uuids.front();
if ("can_chat_history" == item && is_single_select)
{
return LLLogChat::isTranscriptExist(uuids.front(),false);
}
// Handle options that are applicable to all including the user agent
if ("can_view_profile" == item)
{