diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index 8d01572b4a..c366c68bb8 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -21213,6 +21213,17 @@ Change of this parameter will affect the layout of buttons in notification toast Value 0 + FSGroupNoticesToIMLog + + Comment + Show group notices in group chats, in addition to toasts. + Persist + 1 + Type + Boolean + Value + 1 + FSBetterGroupNoticesToIMLog Comment diff --git a/indra/newview/llnotificationhandlerutil.cpp b/indra/newview/llnotificationhandlerutil.cpp index eaf1c8c787..133ce3db74 100755 --- a/indra/newview/llnotificationhandlerutil.cpp +++ b/indra/newview/llnotificationhandlerutil.cpp @@ -212,6 +212,13 @@ void LLHandlerUtil::logGroupNoticeToIMGroup( return; } + // FIRE-10940: Add option to suppress group notice text in group chat + if (!gSavedSettings.getBOOL("FSGroupNoticesToIMLog")) + { + return; + } + // + const std::string group_name = groupData.mName; const std::string sender_name = payload["sender_name"].asString(); diff --git a/indra/newview/skins/default/xui/en/panel_preferences_chat.xml b/indra/newview/skins/default/xui/en/panel_preferences_chat.xml index dde716d8b6..4a1f6b6f90 100755 --- a/indra/newview/skins/default/xui/en/panel_preferences_chat.xml +++ b/indra/newview/skins/default/xui/en/panel_preferences_chat.xml @@ -714,6 +714,28 @@ value="0"/> + + + diff --git a/indra/newview/skins/default/xui/pl/panel_preferences_chat.xml b/indra/newview/skins/default/xui/pl/panel_preferences_chat.xml index 430e290b8e..5868486676 100755 --- a/indra/newview/skins/default/xui/pl/panel_preferences_chat.xml +++ b/indra/newview/skins/default/xui/pl/panel_preferences_chat.xml @@ -114,6 +114,8 @@ + +