summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorPaul ProductEngine <pguslisty@productengine.com>2012-08-23 18:07:35 +0300
committerPaul ProductEngine <pguslisty@productengine.com>2012-08-23 18:07:35 +0300
commit41c85d357c8793f5119246b79441dd1dad9aa563 (patch)
treed33101ebd9bc585895d460e9ddb052ce30285d1b /indra
parentb2f2a8b21610ae6863b773333c60b18b818c047f (diff)
CHUI-296 FIXED (Unread IM messages icon not showing in conversation log)
- Sometimes IM floater with offline unread messages is visible but not in visible chain and the flag of offline unread messages is erroneously reset. So made condition of whether floater is visible more strict.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llimfloater.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llimfloater.cpp b/indra/newview/llimfloater.cpp
index 5780ac52a5..1c6445610f 100644
--- a/indra/newview/llimfloater.cpp
+++ b/indra/newview/llimfloater.cpp
@@ -789,7 +789,7 @@ void LLIMFloater::setVisible(BOOL visible)
}
}
- if (visible)
+ if (visible && isInVisibleChain())
{
sIMFloaterShowedSignal(mSessionID);
}