summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorWilliam Todd Stinson <stinson@lindenlab.com>2012-12-11 20:46:10 -0800
committerWilliam Todd Stinson <stinson@lindenlab.com>2012-12-11 20:46:10 -0800
commit3636b10d479043c6e7386bc60af3228bd856f737 (patch)
tree8ca03b70065af47e9f0cb6854b61b610bcc62c00 /indra/newview
parent79cb158e118d14bfaf7050f79e5ece1fa2052471 (diff)
CHUI-494: Removing the creation of a new session while receiving an IM in DND mode.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llimview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp
index 4e2ac09dd8..5bbe14a8b9 100644
--- a/indra/newview/llimview.cpp
+++ b/indra/newview/llimview.cpp
@@ -2499,7 +2499,7 @@ void LLIMMgr::addMessage(
}
bool new_session = !hasSession(new_session_id);
- if (new_session)
+ if (new_session && !gAgent.isDoNotDisturb())
{
LLAvatarName av_name;
if (LLAvatarNameCache::get(other_participant_id, &av_name) && !name_is_setted)