Fix script dialogs showing UI SLURLs when SinguReplaceLinks is false

All interface SLURLs should be force replaced.
Also fixes text boxes not respecting setting at all
This commit is contained in:
Liru Færs
2020-03-26 23:31:52 -04:00
parent 28e5270d87
commit 89ce328ba5
2 changed files with 5 additions and 2 deletions

View File

@@ -7020,7 +7020,8 @@ void process_script_dialog(LLMessageSystem* msg, void**)
LLSD args;
args["TITLE"] = object_name;
args["MESSAGE"] = message;
args["MESSAGE"] = LLStringUtil::null;
args["SCRIPT_MESSAGE"] = message;
args["CHANNEL"] = chat_channel;
LLNotificationPtr notification;
char const* name = (is_group && !is_text_box) ? "GROUPNAME" : "NAME";