Update instant message stuff
Fixes auto response chats not showing the name, anymore; switches to using 25% more font color transparency to indicate autoresponse Cleans up and reorganizes im codestuffs~
This commit is contained in:
@@ -480,7 +480,13 @@ void LLIMMgr::addMessage(
|
||||
}
|
||||
|
||||
// now add message to floater
|
||||
const LLColor4& color = agent_chat_color(other_participant_id, from, false);
|
||||
LLColor4 color = agent_chat_color(other_participant_id, from, false);
|
||||
if (dialog == IM_BUSY_AUTO_RESPONSE)
|
||||
{
|
||||
color *= .75f;
|
||||
color += LLColor4::transparent*.25f;
|
||||
}
|
||||
|
||||
if ( !link_name )
|
||||
{
|
||||
floater->addHistoryLine(msg,color); // No name to prepend, so just add the message normally
|
||||
|
||||
Reference in New Issue
Block a user