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

DN-154 Display Names only shown in Nearby Chat History when a user logs back...

DN-154 Display Names only shown in Nearby Chat History when a user logs back in even if Usernames were shown in Chat during previous session
parent f34683dc
No related branches found
No related tags found
No related merge requests found
...@@ -575,7 +575,7 @@ std::string LLCacheName::buildLegacyName(const std::string& complete_name) ...@@ -575,7 +575,7 @@ std::string LLCacheName::buildLegacyName(const std::string& complete_name)
LLStringUtil::toUpper(cap_letter); LLStringUtil::toUpper(cap_letter);
legacy_name = cap_letter + legacy_name.substr(1); legacy_name = cap_letter + legacy_name.substr(1);
if (name_results[4].matched) if (name_results[3].matched)
{ {
std::string last_name = name_results[3]; std::string last_name = name_results[3];
std::string cap_letter = last_name.substr(1, 1); std::string cap_letter = last_name.substr(1, 1);
......
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