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