summaryrefslogtreecommitdiff
path: root/indra/newview/llnearbychathandler.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-04-01 09:24:05 -0400
committerOz Linden <oz@lindenlab.com>2011-04-01 09:24:05 -0400
commit5e617d77f34f17f7a8f3677270f2738f857a60b8 (patch)
tree921afb347a56f21c0ae7d5c34aae73d9ec96b1bb /indra/newview/llnearbychathandler.cpp
parente0ca936fbf7411bcc1cdd935a50c5913db6a1cb9 (diff)
parent8bc829220f8fc99180a1b1917220576a59de7339 (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()