summaryrefslogtreecommitdiff
path: root/indra/newview/llnearbychathandler.cpp
diff options
context:
space:
mode:
authorDebi King (Dessie) <dessie@lindenlab.com>2011-04-27 12:27:05 -0400
committerDebi King (Dessie) <dessie@lindenlab.com>2011-04-27 12:27:05 -0400
commita3d89650a9a485902982ac066b2a4e9cf642989d (patch)
treeda1723ade50571e7fe1fe15e43a1b9cb595b5ae5 /indra/newview/llnearbychathandler.cpp
parent71f5c1f5e8bbf6b22776cd7f98aabecc7a48918d (diff)
parent154a465bdaff58023c43bed12b4a049ae72a55df (diff)
merged .hgtags from viewer-pre-release
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()