summaryrefslogtreecommitdiff
path: root/indra/newview/llimview.cpp
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2010-08-04 15:44:45 -0700
committerLeyla Farazha <leyla@lindenlab.com>2010-08-04 15:44:45 -0700
commit6f256e2d57d6814fdb97809405989c54ab148c6b (patch)
tree0584e6231bf80e9919e7bf30caceece94b25deb4 /indra/newview/llimview.cpp
parenta97bcb7c7fd705818b7f36af2c4a915e85ff5604 (diff)
parenteefe3388da83ce3e368af28ba466c27644f156c8 (diff)
Merge with dessie/viewer-release
Diffstat (limited to 'indra/newview/llimview.cpp')
-rw-r--r--indra/newview/llimview.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp
index 8fbd8fc2aa..7c951e3556 100644
--- a/indra/newview/llimview.cpp
+++ b/indra/newview/llimview.cpp
@@ -1031,6 +1031,14 @@ void LLIMModel::sendMessage(const std::string& utf8_text,
}
else
{
+ // IM_SESSION_INVITE means that this is an Ad-hoc incoming chat
+ // (it can be also Group chat but it is checked above)
+ // In this case mInitialTargetIDs contains Ad-hoc session ID and it should not be added
+ // to Recent People to prevent showing of an item with (???)(???). See EXT-8246.
+ // Concrete participants will be added into this list once they sent message in chat.
+ if (IM_SESSION_INVITE == dialog) return;
+
+ // implemented adding of all participants of an outgoing to Recent People List. See EXT-5694.
for(uuid_vec_t::iterator it = session->mInitialTargetIDs.begin();
it!=session->mInitialTargetIDs.end();++it)
{