aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelgroupgeneral.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2010-08-23 23:45:31 -0500
committerJacek Antonelli2010-08-27 13:25:15 -0500
commit05da24f82bad8cf31de5cb6a3a6aaac73c94810e (patch)
tree0e721a4ac7bb7cf3d0283e112ad4d7d33c248f23 /linden/indra/newview/llpanelgroupgeneral.cpp
parentWip - mute group chat (diff)
downloadmeta-impy-05da24f82bad8cf31de5cb6a3a6aaac73c94810e.zip
meta-impy-05da24f82bad8cf31de5cb6a3a6aaac73c94810e.tar.gz
meta-impy-05da24f82bad8cf31de5cb6a3a6aaac73c94810e.tar.bz2
meta-impy-05da24f82bad8cf31de5cb6a3a6aaac73c94810e.tar.xz
Finished up ability to ignore group chat from specific groups.
Uncheck the "Join group chat" checkbox in the group info window. The list of ignored groups is saved per-account in ignore_groups.xml.
Diffstat (limited to 'linden/indra/newview/llpanelgroupgeneral.cpp')
-rw-r--r--linden/indra/newview/llpanelgroupgeneral.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/linden/indra/newview/llpanelgroupgeneral.cpp b/linden/indra/newview/llpanelgroupgeneral.cpp
index 402929e..55e1b33 100644
--- a/linden/indra/newview/llpanelgroupgeneral.cpp
+++ b/linden/indra/newview/llpanelgroupgeneral.cpp
@@ -545,7 +545,6 @@ bool LLPanelGroupGeneral::apply(std::string& mesg)
545 } 545 }
546 546
547 BOOL receive_notices = false; 547 BOOL receive_notices = false;
548 BOOL receive_chat = false;
549 BOOL list_in_profile = false; 548 BOOL list_in_profile = false;
550 if (mCtrlReceiveNotices) 549 if (mCtrlReceiveNotices)
551 receive_notices = mCtrlReceiveNotices->get(); 550 receive_notices = mCtrlReceiveNotices->get();
@@ -556,13 +555,12 @@ bool LLPanelGroupGeneral::apply(std::string& mesg)
556 555
557 if (mCtrlReceiveChat) 556 if (mCtrlReceiveChat)
558 { 557 {
559 receive_chat = mCtrlReceiveChat->get(); 558 bool receive_chat = mCtrlReceiveChat->get();
559 gIMMgr->updateIgnoreGroup(mGroupID, !receive_chat);
560 // Save here too in case we crash somewhere down the road -- MC
561 gIMMgr->saveIgnoreGroup();
560 } 562 }
561 563
562 gIMMgr->updateIgnoreGroup(mGroupID, receive_chat);
563 // Save here too in case we crash somewhere down the road -- MC
564 gIMMgr->saveIgnoreGroup();
565
566 mChanged = FALSE; 564 mChanged = FALSE;
567 565
568 return true; 566 return true;