summaryrefslogtreecommitdiff
path: root/indra/newview/llimview.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2010-11-15 07:27:50 -0500
committerOz Linden <oz@lindenlab.com>2010-11-15 07:27:50 -0500
commit0cd40b4409b237093a771b28933ac2a33fa9f266 (patch)
tree6aec2ccf66265722f4cb6f16774b54a7fa3eca49 /indra/newview/llimview.cpp
parentef46e7037ca59224dfcdf3745e165ee97b086a69 (diff)
parent5cbbb565f1bba870ec6db0b266e8768ecbdb7826 (diff)
merge fix for STORM-579
Diffstat (limited to 'indra/newview/llimview.cpp')
-rw-r--r--indra/newview/llimview.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp
index 857c27be63..cc48226052 100644
--- a/indra/newview/llimview.cpp
+++ b/indra/newview/llimview.cpp
@@ -537,16 +537,7 @@ bool LLIMModel::LLIMSession::isOtherParticipantAvaline()
void LLIMModel::LLIMSession::onAvatarNameCache(const LLUUID& avatar_id, const LLAvatarName& av_name)
{
- if (av_name.mLegacyFirstName.empty())
- {
- // if mLegacyFirstName is empty it means display names is off and the
- // data came from the gCacheName, mDisplayName will be the legacy name
- mHistoryFileName = LLCacheName::cleanFullName(av_name.mDisplayName);
- }
- else
- {
- mHistoryFileName = LLCacheName::cleanFullName(av_name.getLegacyName());
- }
+ mHistoryFileName = av_name.mUsername;
}
void LLIMModel::LLIMSession::buildHistoryFileName()