FIRE-22148: Only update group icon if the received group data actually contains group icon info

meow-7.2.2
Ansariel 2018-01-11 10:04:33 +01:00
parent bb6cbc2fa6
commit 0f8f5587e3
1 changed files with 4 additions and 1 deletions

View File

@ -536,7 +536,10 @@ void LLGroupListItem::onProfileBtnClick()
void LLGroupListItem::changed(LLGroupChange gc)
{
LLGroupMgrGroupData* group_data = LLGroupMgr::getInstance()->getGroupData(mID);
if(group_data)
// <FS:Ansariel> FIRE-22148: Only update group icon if the received group data actually contains group icon info
//if (group_data)
if ((gc == GC_ALL || gc == GC_PROPERTIES) && group_data)
// </FS:Ansariel>
setGroupIconID(group_data->mInsigniaID);
}