diff options
author | Paul ProductEngine <pguslisty@productengine.com> | 2011-03-21 17:50:59 +0200 |
---|---|---|
committer | Paul ProductEngine <pguslisty@productengine.com> | 2011-03-21 17:50:59 +0200 |
commit | ed2222be5d33cb4216e6826507ae1d06e9781253 (patch) | |
tree | c84bf39d2fe9d29add677d5ca36526cdcdbf1eeb | |
parent | df63c6931e81c034887611711095e3134b9a7318 (diff) |
STORM-399 FIXED Users that has chatted within chat range of the user in-world are not added to Recent tab
- Add sender(only avatar) to the recent people list just after message appears in nearby chat
-rw-r--r-- | indra/newview/llnearbychathandler.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llnearbychathandler.cpp b/indra/newview/llnearbychathandler.cpp index de5439e4e0..f595773bb6 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() |