aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llimview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llimview.cpp')
-rw-r--r--linden/indra/newview/llimview.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/linden/indra/newview/llimview.cpp b/linden/indra/newview/llimview.cpp
index 5061197..2253404 100644
--- a/linden/indra/newview/llimview.cpp
+++ b/linden/indra/newview/llimview.cpp
@@ -613,11 +613,11 @@ void LLIMMgr::addMessage(
613 // create IM window as necessary 613 // create IM window as necessary
614 if(!floater) 614 if(!floater)
615 { 615 {
616 if (!mIgnoreGroupList.empty()) 616 if (gIMMgr->getIgnoreGroupListCount() > 0 && gAgent.isInGroup(session_id))
617 { 617 {
618 // Check to see if we're blocking this group's chat 618 // Check to see if we're blocking this group's chat
619 LLGroupData *group_data = NULL; 619 LLGroupData* group_data = NULL;
620 620
621 // Search for this group in the agent's groups list 621 // Search for this group in the agent's groups list
622 LLDynamicArray<LLGroupData>::iterator i; 622 LLDynamicArray<LLGroupData>::iterator i;
623 623
@@ -631,9 +631,8 @@ void LLIMMgr::addMessage(
631 } 631 }
632 632
633 // If the group is in our list then return 633 // If the group is in our list then return
634 if (group_data && getIgnoreGroup(group_data->mID)) 634 if (group_data && gIMMgr->getIgnoreGroup(group_data->mID))
635 { 635 {
636 // llinfos << "ignoring chat from group " << group_data->mID << llendl;
637 return; 636 return;
638 } 637 }
639 } 638 }
@@ -1383,7 +1382,7 @@ void LLIMMgr::saveIgnoreGroup()
1383 } 1382 }
1384} 1383}
1385 1384
1386void LLIMMgr::updateIgnoreGroup(const LLUUID& group_id, const bool& ignore) 1385void LLIMMgr::updateIgnoreGroup(const LLUUID& group_id, bool ignore)
1387{ 1386{
1388 if (group_id.notNull()) 1387 if (group_id.notNull())
1389 { 1388 {