diff options
author | Vadim Savchuk <vsavchuk@productengine.com> | 2009-11-11 21:11:54 +0200 |
---|---|---|
committer | Vadim Savchuk <vsavchuk@productengine.com> | 2009-11-11 21:11:54 +0200 |
commit | 2fd51b4c711aa7ab70da6d7e7dfcb380b87cbedf (patch) | |
tree | d6c326869cd36b48dbc2b654783552bf3de7f1ba /indra/newview/llimview.cpp | |
parent | 6146cfc5c1c14f106b54b7394db6286d9b7bb67a (diff) | |
parent | 196e350629fb258acb8c0d784fdcfd50866b92ef (diff) |
Manual merge.
Resolved conflicts in panel_bottomtray.xml and llavataractions.cpp.
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llimview.cpp')
-rw-r--r-- | indra/newview/llimview.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp index b1ffe70e25..be5fbdbbf8 100644 --- a/indra/newview/llimview.cpp +++ b/indra/newview/llimview.cpp @@ -439,8 +439,11 @@ bool LLIMModel::addMessage(const LLUUID& session_id, const std::string& from, co addToHistory(session_id, from, from_id, utf8_text); if (log2file) logToFile(session_id, from, from_id, utf8_text); - //we do not count system messages - if (from_id.notNull()) session->mNumUnread++; + //we do not count system messages and our messages + if (from_id.notNull() && from_id != gAgentID && SYSTEM_FROM != from) + { + session->mNumUnread++; + } // notify listeners LLSD arg; |