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:
Inusaito Sayori
2014-12-27 10:20:57 -05:00
parent a805d15797
commit f26d7c7bf2
3 changed files with 29 additions and 28 deletions

View File

@@ -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