Commits

leyla_linden  committed 9a2f511

fixing ims not logging with display names off

  • Participants
  • Parent commits f20bf42

Comments (0)

Files changed (1)

File indra/newview/llimview.cpp

 
 void LLIMModel::LLIMSession::onAvatarNameCache(const LLUUID& avatar_id, const LLAvatarName& av_name)
 {
-	mHistoryFileName = av_name.mUsername;
+	// if username is empty, display names isn't enabled, use the display name
+	mHistoryFileName = av_name.mUsername.empty() ? av_name.mDisplayName : av_name.mUsername;
 }
 
 void LLIMModel::LLIMSession::buildHistoryFileName()