diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml
index d669704109..dd7db3c05d 100644
--- a/indra/newview/app_settings/settings.xml
+++ b/indra/newview/app_settings/settings.xml
@@ -21580,6 +21580,17 @@ Change of this parameter will affect the layout of buttons in notification toast
Value
0
+ FSDisableReturnObjectNotification
+
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index 459129e1b3..1304ddab51 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -3357,6 +3357,17 @@ void process_improved_im(LLMessageSystem *msg, void **user_data)
return;
}
+ // FIRE-6406: Feature to disable Object Return notification
+ static LLCachedControl FSDisableReturnObjectNotification(gSavedSettings, "FSDisableReturnObjectNotification");
+ if (FSDisableReturnObjectNotification)
+ {
+ if (message.find("been returned to your inventory") != -1)
+ {
+ return;
+ }
+ }
+ //
+
// Build a link to open the object IM info window.
std::string location = ll_safe_string((char*)binary_bucket, binary_bucket_size-1);
diff --git a/indra/newview/skins/default/xui/en/panel_preferences_alerts.xml b/indra/newview/skins/default/xui/en/panel_preferences_alerts.xml
index ac099e880d..2c7c5e1cd7 100755
--- a/indra/newview/skins/default/xui/en/panel_preferences_alerts.xml
+++ b/indra/newview/skins/default/xui/en/panel_preferences_alerts.xml
@@ -270,6 +270,15 @@
name="FSFlashOnScriptDialog"
top_pad="5"
width="160"/>
+
+