diff options
author | Rider Linden <rider@lindenlab.com> | 2015-08-25 11:40:36 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2015-08-25 11:40:36 -0700 |
commit | 96bb17f20bbcdc595f3a615a3129e134595b3a4a (patch) | |
tree | e51e47f79b78a076e821360763196cc72c154aad /indra/newview/llimview.cpp | |
parent | 7c61728b4bae928b2461f0f933dd1c1fa34ef0aa (diff) | |
parent | 1be63209331d509396bd7ee79302d511fe83d72e (diff) |
Merge
Diffstat (limited to 'indra/newview/llimview.cpp')
-rwxr-xr-x | indra/newview/llimview.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp index 8d670d0b0a..74f1cd0673 100755 --- a/indra/newview/llimview.cpp +++ b/indra/newview/llimview.cpp @@ -1421,8 +1421,15 @@ void LLIMModel::sendMessage(const std::string& utf8_text, gAgent.sendReliableMessage(); } + bool is_group_chat = false; + LLIMModel::LLIMSession* session = LLIMModel::getInstance()->findIMSession(im_session_id); + if(session) + { + is_group_chat = session->isGroupSessionType(); + } + // If there is a mute list and this is not a group chat... - if ( LLMuteList::getInstance() ) + if ( LLMuteList::getInstance() && !is_group_chat) { // ... the target should not be in our mute list for some message types. // Auto-remove them if present. @@ -1471,7 +1478,6 @@ void LLIMModel::sendMessage(const std::string& utf8_text, if (is_not_group_id) { - LLIMModel::LLIMSession* session = LLIMModel::getInstance()->findIMSession(im_session_id); if( session == 0)//??? shouldn't really happen { LLRecentPeople::instance().add(other_participant_id); |