diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml
index 51994c865e..a564250da3 100644
--- a/indra/newview/app_settings/settings.xml
+++ b/indra/newview/app_settings/settings.xml
@@ -23204,6 +23204,17 @@ Change of this parameter will affect the layout of buttons in notification toast
Value
0
+ FSReportBlockToNearbyChat
+
diff --git a/indra/newview/llmutelist.cpp b/indra/newview/llmutelist.cpp
index a048d648c4..7a37985739 100755
--- a/indra/newview/llmutelist.cpp
+++ b/indra/newview/llmutelist.cpp
@@ -59,6 +59,9 @@
#include "llviewerobjectlist.h"
#include "lltrans.h"
+#include "llviewercontrol.h"
+#include "fscommon.h"
+
namespace
{
// This method is used to return an object to mute given an object id.
@@ -346,6 +349,15 @@ void LLMuteList::updateAdd(const LLMute& mute)
gAgent.sendReliableMessage();
mIsLoaded = TRUE; // why is this here? -MG
+
+ // FIRE-15746: Show block report in nearby chat
+ if (gSavedSettings.getBOOL("FSReportBlockToNearbyChat"))
+ {
+ LLStringUtil::format_map_t args;
+ args["NAME"] = mute.mName;
+ reportToNearbyChat(LLTrans::getString("Mute_Add", args));
+ }
+ //
}
@@ -444,6 +456,15 @@ void LLMuteList::updateRemove(const LLMute& mute)
msg->addUUIDFast(_PREHASH_MuteID, mute.mID);
msg->addString("MuteName", mute.mName);
gAgent.sendReliableMessage();
+
+ // FIRE-15746: Show block report in nearby chat
+ if (gSavedSettings.getBOOL("FSReportBlockToNearbyChat"))
+ {
+ LLStringUtil::format_map_t args;
+ args["NAME"] = mute.mName;
+ reportToNearbyChat(LLTrans::getString("Mute_Remove", args));
+ }
+ //
}
void notify_automute_callback(const LLUUID& agent_id, const std::string& full_name, bool is_group, LLMuteList::EAutoReason reason)
diff --git a/indra/newview/skins/default/xui/de/panel_preferences_alerts.xml b/indra/newview/skins/default/xui/de/panel_preferences_alerts.xml
index 1f542ca944..cbbfb8ca8d 100755
--- a/indra/newview/skins/default/xui/de/panel_preferences_alerts.xml
+++ b/indra/newview/skins/default/xui/de/panel_preferences_alerts.xml
@@ -12,6 +12,7 @@
+
diff --git a/indra/newview/skins/default/xui/de/strings.xml b/indra/newview/skins/default/xui/de/strings.xml
index cee5c61cf6..2fa13cb211 100755
--- a/indra/newview/skins/default/xui/de/strings.xml
+++ b/indra/newview/skins/default/xui/de/strings.xml
@@ -6170,4 +6170,10 @@ Setzen Sie den Editorpfad in Anführungszeichen
Die Region, in der Sie sich gerade befinden, ist dabei neu zu starten. Falls Sie in dieser Region bleiben, werden Sie ausgeloggt.
+
+ „[NAME]“ has been added to the blocklist.
+
+
+ „[NAME]“ has been removed from the blocklist.
+
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 332b7f2921..56d21809bd 100755
--- a/indra/newview/skins/default/xui/en/panel_preferences_alerts.xml
+++ b/indra/newview/skins/default/xui/en/panel_preferences_alerts.xml
@@ -91,6 +91,16 @@
left="10"
top_pad="2"
name="FSShowDisplayNameUpdateNotification"
+ width="180" />
+
+
The settings control "[CONTROL_NAME]" should be at [VALUE_1].
- The settings control"[CONTROL_NAME]" should not be set to [VALUE_1].
+ The settings control "[CONTROL_NAME]" should not be set to [VALUE_1].
The settings control "[CONTROL_NAME]" should be lower than [VALUE_1].
The settings control "[CONTROL_NAME]" should be higher than [VALUE_1].
The settings control "[CONTROL_NAME]" should be between [VALUE_1] and [VALUE_2].
@@ -2775,4 +2775,6 @@ Try enclosing path to the editor with double quotes.
The region you are in now is about to restart. If you stay in this region you will be logged out.
+ '[NAME]' has been added to the blocklist.
+ '[NAME]' has been removed from the blocklist.