Skip to content
Snippets Groups Projects
Commit b0fd7bf7 authored by Leyla Farazha's avatar Leyla Farazha
Browse files

fixing ims not logging with display names off

parent 50868604
No related branches found
No related tags found
No related merge requests found
......@@ -526,7 +526,8 @@ bool LLIMModel::LLIMSession::isOtherParticipantAvaline()
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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment