SL-14007 Group icon in "About land" displays wrong icon

meow-7.2.2
Andrey Kleshchev 2020-09-26 17:21:17 +03:00
parent 4ff5ad507a
commit 6d014dde5e
1 changed files with 2 additions and 1 deletions

View File

@ -526,7 +526,8 @@ bool create_text_segment_icon_from_url_match(LLUrlMatch* match,LLTextBase* base)
LLIconCtrl* icon;
if(gAgent.isInGroup(match_id, TRUE))
if( match->getMenuName() == "menu_url_group.xml" // See LLUrlEntryGroup constructor
|| gAgent.isInGroup(match_id, TRUE)) //This check seems unfiting, urls are either /agent or /group
{
LLGroupIconCtrl::Params icon_params;
icon_params.group_id = match_id;