summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatar.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/llvoavatar.cpp
parent5a2aaba40f6b23b9497eceb0cb4e753c1255732e (diff)
Arrival/departure notifications body text are grey
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rw-r--r--indra/newview/llvoavatar.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 24e1cd83db..9dea345954 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -820,7 +820,9 @@ LLVOAvatar::~LLVOAvatar()
LLChat chat{llformat("%s left.", display_name.c_str())};
chat.mFromName = display_name;
chat.mFromID = getID();
- LLNotificationsUI::LLNotificationManager::instance().onChat(chat, LLSD{});
+ LLSD args;
+ args["COLOR"] = "ChatHistoryTextColor";
+ LLNotificationsUI::LLNotificationManager::instance().onChat(chat, args);
}
if (!mFullyLoaded)
{
@@ -2490,7 +2492,9 @@ U32 LLVOAvatar::processUpdateMessage(LLMessageSystem *mesgsys,
LLChat chat{llformat("%s arrived (%.1f m).", display_name.c_str(), dist_vec(*pos_it, gAgent.getPositionGlobal()))};
chat.mFromName = display_name;
chat.mFromID = getID();
- LLNotificationsUI::LLNotificationManager::instance().onChat(chat, LLSD{});
+ LLSD args;
+ args["COLOR"] = "ChatHistoryTextColor";
+ LLNotificationsUI::LLNotificationManager::instance().onChat(chat, args);
break;
}
}