diff --git a/indra/newview/llimpanel.cpp b/indra/newview/llimpanel.cpp index 727c431b7..9925dabc6 100644 --- a/indra/newview/llimpanel.cpp +++ b/indra/newview/llimpanel.cpp @@ -869,13 +869,13 @@ void LLFloaterIMPanel::addHistoryLine(const std::string &utf8msg, LLColor4 incol // [/Ansariel: Display name support] } - if (!isInVisibleChain() || (!hasFocus() && getParent() == gFloaterView)) - { - mNumUnreadMessages++; - } - if (source.notNull()) { + if (!isInVisibleChain() || (!hasFocus() && getParent() == gFloaterView)) + { + mNumUnreadMessages++; + } + mSpeakers->speakerChatted(source); mSpeakers->setSpeakerTyping(source, FALSE); }