Skip to content
Snippets Groups Projects
Commit 2305676f authored by Paul Guslisty's avatar Paul Guslisty
Browse files

Fixed low bug EXT - 3464 ("You" should be shown for Nearby chat window instead of avatar's name)

--HG--
branch : product-engine
parent 2af9653f
No related branches found
No related tags found
No related merge requests found
...@@ -178,6 +178,8 @@ void LLNearbyChat::addMessage(const LLChat& chat,bool archive) ...@@ -178,6 +178,8 @@ void LLNearbyChat::addMessage(const LLChat& chat,bool archive)
if (!chat.mMuted) if (!chat.mMuted)
{ {
tmp_chat.mFromName = chat.mFromID != gAgentID ? chat.mFromName : LLTrans::getString("You");
if (chat.mChatStyle == CHAT_STYLE_IRC) if (chat.mChatStyle == CHAT_STYLE_IRC)
{ {
LLColor4 txt_color = LLUIColorTable::instance().getColor("White"); LLColor4 txt_color = LLUIColorTable::instance().getColor("White");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment