Forgotten code path for when display names are turned off and showing group names in chat history when chat headers were disabled as well.

Liny 2012-04-14 23:13:09 -07:00
parent 74d966b569
commit a83779ae38
1 changed files with 11 additions and 1 deletions

View File

@ -1084,7 +1084,17 @@ void LLChatHistory::appendMessage(const LLChat& chat, const LLSD &args, const LL
}
else
{
mEditor->appendText(chat.mFromName, false, link_params);
//mEditor->appendText(chat.mFromName, false, link_params);
// FS:LO FIRE-5230 - Chat Console Improvement: Replacing the "IM" in front of group chat messages with the actual group name
if (chat.mChatType == CHAT_TYPE_IM_GROUP)
{
mEditor->appendText(chat.mFromNameGroup + chat.mFromName, false, link_params);
}
else
{
mEditor->appendText(chat.mFromName, false, link_params);
}
// FS:LO FIRE-5230 - Chat Console Improvement: Replacing the "IM" in front of group chat messages with the actual group name
}
link_params.color(txt_color);
link_params.readonly_color(txt_color);