summaryrefslogtreecommitdiff
path: root/indra/newview/llchathistory.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-08-23 22:32:01 +0800
committerErik Kundiman <erik@megapahit.org>2024-08-23 22:32:01 +0800
commitc729a1a21c0079b9e47cbc0b44df75c93bcb5383 (patch)
tree061867905aa0d3c874ae0198bb7a09285d201784 /indra/newview/llchathistory.cpp
parent5a2aaba40f6b23b9497eceb0cb4e753c1255732e (diff)
Arrival/departure notifications body text are grey
Diffstat (limited to 'indra/newview/llchathistory.cpp')
-rw-r--r--indra/newview/llchathistory.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llchathistory.cpp b/indra/newview/llchathistory.cpp
index 4a08eace62..9925a1de47 100644
--- a/indra/newview/llchathistory.cpp
+++ b/indra/newview/llchathistory.cpp
@@ -1249,7 +1249,10 @@ void LLChatHistory::appendMessage(const LLChat& chat, const LLSD &args, const LL
LLStyle::Params body_message_params;
body_message_params.color(txt_color);
- body_message_params.readonly_color(txt_color);
+ if (args["COLOR"])
+ body_message_params.readonly_color(LLUIColorTable::instance().getColor(args["COLOR"]));
+ else
+ body_message_params.readonly_color(txt_color);
body_message_params.font.name(font_name);
body_message_params.font.size(font_size);
body_message_params.font.style(input_append_params.font.style);