summaryrefslogtreecommitdiff
path: root/indra/newview/llnearbychathandler.cpp
diff options
context:
space:
mode:
authorRichard Nelson <none@none>2010-08-12 09:46:45 -0700
committerRichard Nelson <none@none>2010-08-12 09:46:45 -0700
commitbe50a053ed4ae7d0b15fc20f1c6ca0973c56ffd9 (patch)
tree0346d439706c1e61f0486e8ad0135ce9e55296cf /indra/newview/llnearbychathandler.cpp
parent9327ef1ea0107df45c4e2066b379206a51a36c25 (diff)
first pass at hints
Diffstat (limited to 'indra/newview/llnearbychathandler.cpp')
-rw-r--r--indra/newview/llnearbychathandler.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llnearbychathandler.cpp b/indra/newview/llnearbychathandler.cpp
index 1fadb126e4..31a59146d6 100644
--- a/indra/newview/llnearbychathandler.cpp
+++ b/indra/newview/llnearbychathandler.cpp
@@ -37,6 +37,7 @@
#include "llbottomtray.h"
#include "llchatitemscontainerctrl.h"
+#include "llfirstuse.h"
#include "llfloaterscriptdebug.h"
#include "llnearbychat.h"
#include "llrecentpeople.h"
@@ -347,7 +348,10 @@ void LLNearbyChatHandler::processChat(const LLChat& chat_msg, const LLSD &args)
if(chat_msg.mMuted == TRUE)
return;
if(chat_msg.mSourceType == CHAT_SOURCE_AGENT && chat_msg.mFromID.notNull())
- LLRecentPeople::instance().add(chat_msg.mFromID);
+ {
+ LLRecentPeople::instance().add(chat_msg.mFromID);
+ LLFirstUse::otherAvatarChat();
+ }
if(chat_msg.mText.empty())
return;//don't process empty messages