Skip to content
Snippets Groups Projects
Commit b87974df authored by maxim_productengine's avatar maxim_productengine
Browse files

CHUI-447 Additional fix(Show only display name for user that starts conversation )

parent 668761e1
No related branches found
No related tags found
No related merge requests found
...@@ -180,7 +180,7 @@ void LLAvatarActions::offerTeleport(const uuid_vec_t& ids) ...@@ -180,7 +180,7 @@ void LLAvatarActions::offerTeleport(const uuid_vec_t& ids)
static void on_avatar_name_cache_start_im(const LLUUID& agent_id, static void on_avatar_name_cache_start_im(const LLUUID& agent_id,
const LLAvatarName& av_name) const LLAvatarName& av_name)
{ {
std::string name = av_name.getCompleteName(); std::string name = av_name.mDisplayName;
LLUUID session_id = gIMMgr->addSession(name, IM_NOTHING_SPECIAL, agent_id); LLUUID session_id = gIMMgr->addSession(name, IM_NOTHING_SPECIAL, agent_id);
if (session_id != LLUUID::null) if (session_id != LLUUID::null)
{ {
......
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