diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml
index a75cd0daf8..bc0e9590c1 100644
--- a/indra/newview/app_settings/settings.xml
+++ b/indra/newview/app_settings/settings.xml
@@ -24319,6 +24319,17 @@ Change of this parameter will affect the layout of buttons in notification toast
Value
1
+ FSBubblesHideConsoleAndToasts
+
diff --git a/indra/newview/fsconsoleutils.cpp b/indra/newview/fsconsoleutils.cpp
index 630ed30a7b..e960174c61 100644
--- a/indra/newview/fsconsoleutils.cpp
+++ b/indra/newview/fsconsoleutils.cpp
@@ -43,6 +43,7 @@ bool FSConsoleUtils::ProcessChatMessage(const LLChat& chat_msg, const LLSD &args
{
static LLCachedControl fsUseNearbyChatConsole(gSavedSettings, "FSUseNearbyChatConsole");
static LLCachedControl useChatBubbles(gSavedSettings, "UseChatBubbles");
+ static LLCachedControl fsBubblesHideConsoleAndToasts(gSavedSettings, "FSBubblesHideConsoleAndToasts");
if (!fsUseNearbyChatConsole)
{
@@ -51,7 +52,7 @@ bool FSConsoleUtils::ProcessChatMessage(const LLChat& chat_msg, const LLSD &args
// Don't write to console if avatar chat and user wants
// bubble chat or if the user is busy.
- if ( (chat_msg.mSourceType == CHAT_SOURCE_AGENT && useChatBubbles)
+ if ( (chat_msg.mSourceType == CHAT_SOURCE_AGENT && useChatBubbles && fsBubblesHideConsoleAndToasts)
|| gAgent.isDoNotDisturb() )
{
return true;
diff --git a/indra/newview/llfloaterimnearbychathandler.cpp b/indra/newview/llfloaterimnearbychathandler.cpp
index ac5c8fab57..77f0710d00 100644
--- a/indra/newview/llfloaterimnearbychathandler.cpp
+++ b/indra/newview/llfloaterimnearbychathandler.cpp
@@ -695,11 +695,13 @@ void LLFloaterIMNearbyChatHandler::processChat(const LLChat& chat_msg,
//
static LLCachedControl useChatBubbles(gSavedSettings, "UseChatBubbles");
+ static LLCachedControl fsBubblesHideConsoleAndToasts(gSavedSettings, "FSBubblesHideConsoleAndToasts");
// [FS communication UI]
//if(( ( chat_msg.mSourceType == CHAT_SOURCE_AGENT
+ // && useChatBubbles )
if( ( chat_msg.mSourceType == CHAT_SOURCE_AGENT
+ && useChatBubbles && fsBubblesHideConsoleAndToasts )
// [FS communication UI]
- && useChatBubbles )
|| mChannel.isDead()
|| !mChannel.get()->getShowToasts() )
// [FS communication UI]
diff --git a/indra/newview/skins/default/xui/de/panel_preferences_chat.xml b/indra/newview/skins/default/xui/de/panel_preferences_chat.xml
index 2ca70afd96..45c4bb512a 100644
--- a/indra/newview/skins/default/xui/de/panel_preferences_chat.xml
+++ b/indra/newview/skins/default/xui/de/panel_preferences_chat.xml
@@ -21,6 +21,7 @@
+
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 43e04d2cf1..659667cf6f 100644
--- a/indra/newview/skins/default/xui/en/panel_preferences_chat.xml
+++ b/indra/newview/skins/default/xui/en/panel_preferences_chat.xml
@@ -155,12 +155,24 @@
top_pad="1"
name="bubble_text_chat"
width="150" />
+