diff options
author | Merov Linden <merov@lindenlab.com> | 2013-06-19 12:24:44 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2013-06-19 12:24:44 -0700 |
commit | b3c010ea7130331d454c480b82d1309bac712004 (patch) | |
tree | 8f5e2ba709ebd52400f2831785e0c07c3396815f /indra/newview/llimview.cpp | |
parent | d65f09ebcafe6ca968236a9991961983d4cd7a47 (diff) | |
parent | 2655c7a17ae38a073dcf8f05b0127b68edc34c95 (diff) |
Pull merge lindenlab/viewer-release
Diffstat (limited to 'indra/newview/llimview.cpp')
-rwxr-xr-x | indra/newview/llimview.cpp | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp index afe1f72019..6ca94436c6 100755 --- a/indra/newview/llimview.cpp +++ b/indra/newview/llimview.cpp @@ -251,22 +251,21 @@ void notify_of_message(const LLSD& msg, bool is_dnd_msg) // actions: - // 0. nothing - exit - if (("noaction" == user_preferences || - ON_TOP_AND_ITEM_IS_SELECTED == conversations_floater_status) - && session_floater->isMessagePaneExpanded()) - { - return; - } - - // 1. open floater and [optional] surface it - if (("openconversations" == user_preferences && - (CLOSED == conversations_floater_status - || NOT_ON_TOP == conversations_floater_status)) - || is_dnd_msg ) - { - if(!gAgent.isDoNotDisturb()) - { + // 0. nothing - exit + if (("none" == user_preferences || + ON_TOP_AND_ITEM_IS_SELECTED == conversations_floater_status) + && session_floater->isMessagePaneExpanded()) + { + return; + } + + // 1. open floater and [optional] surface it + if ("openconversations" == user_preferences && + (CLOSED == conversations_floater_status + || NOT_ON_TOP == conversations_floater_status)) + { + if(!gAgent.isDoNotDisturb()) + { // Open conversations floater LLFloaterReg::showInstance("im_container"); im_box->collapseMessagesPane(false); @@ -1634,7 +1633,7 @@ public: } void errorWithContent(U32 statusNum, const std::string& reason, const LLSD& content) - { + { llwarns << "LLViewerChatterBoxInvitationAcceptResponder error [status:" << statusNum << "]: " << content << llendl; //throw something back to the viewer here? |