summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterimsessiontab.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2021-03-01 17:16:07 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2021-03-01 17:16:07 +0200
commitba608514e1f2e7c05706fc3740d64b8390fbdb69 (patch)
tree63af7c8a80b830d78739343096d219a67b560041 /indra/newview/llfloaterimsessiontab.cpp
parentbc8bf1cb54ff4322d355d438947cac7bf3320fd4 (diff)
SL-13609 Don't use any icon for Nearby chat
Diffstat (limited to 'indra/newview/llfloaterimsessiontab.cpp')
-rw-r--r--indra/newview/llfloaterimsessiontab.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/indra/newview/llfloaterimsessiontab.cpp b/indra/newview/llfloaterimsessiontab.cpp
index e7f428c06a..492f63a700 100644
--- a/indra/newview/llfloaterimsessiontab.cpp
+++ b/indra/newview/llfloaterimsessiontab.cpp
@@ -48,7 +48,6 @@
const F32 REFRESH_INTERVAL = 1.0f;
const std::string ICN_GROUP("group_chat_icon");
-const std::string ICN_NEARBY("nearby_chat_icon");
const std::string ICN_AVATAR("avatar_icon");
void cb_group_do_nothing()
@@ -347,6 +346,8 @@ BOOL LLFloaterIMSessionTab::postBuild()
assignResizeLimits();
+ getChild<LLLayoutPanel>("session_icon_layout_panel")->setVisible(mSessionID.notNull());
+
return result;
}
@@ -726,15 +727,6 @@ void LLFloaterIMSessionTab::updateChatIcon(const LLUUID& id)
icon->setValue(id);
}
}
- else
- {
- if (mIsNearbyChat)
- {
- LLIconCtrl* icon = getChild<LLIconCtrl>(ICN_NEARBY);
- icon->setVisible(true);
- }
- }
-
}
void LLFloaterIMSessionTab::hideAllStandardButtons()