summaryrefslogtreecommitdiff
path: root/indra/newview/llimview.cpp
diff options
context:
space:
mode:
authorYuri Chebotarev <ychebotarev@productengine.com>2010-01-05 17:56:13 +0200
committerYuri Chebotarev <ychebotarev@productengine.com>2010-01-05 17:56:13 +0200
commit71c0973a1eec0a58fcb143b268ac1069d16a4adb (patch)
treecb74a6e5ba50dcbc5e6a94d552f8fcb23d42ab12 /indra/newview/llimview.cpp
parenta2fb58b8dbf29d484888a1bdf5f685630e088628 (diff)
more work on EXT-1649 Groups you chatted in recently show up in the Recent People tab
previous place for adding recent people was wrong...move this to LLIMSession. --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llimview.cpp')
-rw-r--r--indra/newview/llimview.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp
index 8664f4ab4a..daabf1f717 100644
--- a/indra/newview/llimview.cpp
+++ b/indra/newview/llimview.cpp
@@ -382,6 +382,10 @@ void LLIMModel::LLIMSession::addMessage(const std::string& from, const LLUUID& f
mSpeakers->speakerChatted(from_id);
mSpeakers->setSpeakerTyping(from_id, FALSE);
}
+
+ if( mSessionType == P2P_SESSION ||
+ mSessionType == ADHOC_SESSION)
+ LLRecentPeople::instance().add(from_id);
}
void LLIMModel::LLIMSession::addMessagesFromHistory(const std::list<LLSD>& history)