summaryrefslogtreecommitdiff
path: root/indra/newview/llnearbychathandler.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-04-01 09:32:08 -0400
committerOz Linden <oz@lindenlab.com>2011-04-01 09:32:08 -0400
commite23eeb7ed20055e1a95ea87e0014ba141f4ab0bb (patch)
tree121a9ac847173773cccc0660ebe54ffeb44491b3 /indra/newview/llnearbychathandler.cpp
parente0ca936fbf7411bcc1cdd935a50c5913db6a1cb9 (diff)
parent9698314736252b248921bb3a3459f2bdf539ffba (diff)
merge changes for storm-1072
Diffstat (limited to 'indra/newview/llnearbychathandler.cpp')
-rw-r--r--indra/newview/llnearbychathandler.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llnearbychathandler.cpp b/indra/newview/llnearbychathandler.cpp
index 0d9daeb44e..b56fb65a4c 100644
--- a/indra/newview/llnearbychathandler.cpp
+++ b/indra/newview/llnearbychathandler.cpp
@@ -523,6 +523,10 @@ void LLNearbyChatHandler::processChat(const LLChat& chat_msg, const LLSD &args)
&& chat_msg.mFromID != gAgentID)
{
LLFirstUse::otherAvatarChatFirst();
+
+ // Add sender to the recent people list.
+ LLRecentPeople::instance().add(chat_msg.mFromID);
+
}
if( nearby_chat->getVisible()