Skip to content
Snippets Groups Projects
Commit 58d2896a authored by Mnikolenko ProductEngine's avatar Mnikolenko ProductEngine
Browse files

CHUI-918 Don't show "Close Selected" item if Nearby chat is selected

parent d5d8fd67
No related branches found
No related tags found
No related merge requests found
......@@ -363,7 +363,7 @@ void LLConversationItemSession::buildContextMenu(LLMenuGL& menu, U32 flags)
lldebugs << "LLConversationItemParticipant::buildContextMenu()" << llendl;
menuentry_vec_t items;
menuentry_vec_t disabled_items;
if(flags & ITEM_IN_MULTI_SELECTION)
if((flags & ITEM_IN_MULTI_SELECTION) && (this->getType() != CONV_SESSION_NEARBY))
{
items.push_back(std::string("close_selected_conversations"));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment