summaryrefslogtreecommitdiff
path: root/indra/newview/llconversationloglistitem.cpp
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2012-11-14 15:28:05 +0200
committermaxim_productengine <mnikolenko@productengine.com>2012-11-14 15:28:05 +0200
commit40949724345a00a22b1fae5d0645c244cbf47567 (patch)
tree312a8f351880db034b9b31046c03f96f7c19be20 /indra/newview/llconversationloglistitem.cpp
parentdf1fd5d4bbe8e71389872e4cdbac3e9f165cc3f8 (diff)
CHUI-389 FIXED Added parameter for sessionAdded to get access to has_offline_msg value.
Set UnreadIMs icon to visible if messages were sent while offline.
Diffstat (limited to 'indra/newview/llconversationloglistitem.cpp')
-rw-r--r--indra/newview/llconversationloglistitem.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llconversationloglistitem.cpp b/indra/newview/llconversationloglistitem.cpp
index 9fad0e603e..4e984d603b 100644
--- a/indra/newview/llconversationloglistitem.cpp
+++ b/indra/newview/llconversationloglistitem.cpp
@@ -119,6 +119,11 @@ void LLConversationLogListItem::updateName()
mConversationName->setValue(mConversation->getConversationName());
}
+void LLConversationLogListItem::updateOfflineIMs()
+{
+ getChild<LLIconCtrl>("unread_ims_icon")->setVisible(mConversation->hasOfflineMessages());
+}
+
void LLConversationLogListItem::onMouseEnter(S32 x, S32 y, MASK mask)
{
getChildView("hovered_icon")->setVisible(true);