summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorRick Pasetto <rick@lindenlab.com>2009-12-21 11:54:05 -0800
committerRick Pasetto <rick@lindenlab.com>2009-12-21 11:54:05 -0800
commitc308dacfe26fa67e5871ba174dbc0c6cc545a6dd (patch)
treecc97d5704d40ff1150c022920595568893d0ed7d /indra/newview
parent2ebd9b54af332c653917c2b38000f30817dbe364 (diff)
don't show incoming system messages in notification at bottom of chat history window
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llchathistory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llchathistory.cpp b/indra/newview/llchathistory.cpp
index 7f33a8329c..37e27cf165 100644
--- a/indra/newview/llchathistory.cpp
+++ b/indra/newview/llchathistory.cpp
@@ -422,7 +422,7 @@ void LLChatHistory::clear()
void LLChatHistory::appendMessage(const LLChat& chat, const bool use_plain_text_chat_history, const LLStyle::Params& input_append_params)
{
- if (!mEditor->scrolledToEnd() && chat.mFromID != gAgent.getID())
+ if (!mEditor->scrolledToEnd() && chat.mFromID != gAgent.getID() && !chat.mFromName.empty())
{
mUnreadChatSources.insert(chat.mFromName);
mMoreChatPanel->setVisible(TRUE);