From c308dacfe26fa67e5871ba174dbc0c6cc545a6dd Mon Sep 17 00:00:00 2001
From: Rick Pasetto <rick@lindenlab.com>
Date: Mon, 21 Dec 2009 11:54:05 -0800
Subject: [PATCH] don't show incoming system messages in notification at bottom
 of chat history window

---
 indra/newview/llchathistory.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/newview/llchathistory.cpp b/indra/newview/llchathistory.cpp
index 7f33a8329cf..37e27cf1653 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);
-- 
GitLab