diff --git a/indra/newview/llavataractions.cpp b/indra/newview/llavataractions.cpp index 45992b8c839be8dac65f755cc91e8734f5aebcaf..5f1f57f5506c62ca03e1418901aeee369e559fe1 100755 --- a/indra/newview/llavataractions.cpp +++ b/indra/newview/llavataractions.cpp @@ -443,13 +443,9 @@ void LLAvatarActions::teleport_request_callback(const LLSD& notification, const // static void LLAvatarActions::teleportRequest(const LLUUID& id) { - std::string name; - gCacheName->getFullName(id, name); - gCacheName->cleanFullName(name); - LLSD notification; notification["uuid"] = id; - notification["NAME"] = name + "'s"; + notification["NAME_SLURL"] = LLSLURL("agent", id, "about").getSLURLString(); LLSD payload; diff --git a/indra/newview/skins/default/xui/en/notifications.xml b/indra/newview/skins/default/xui/en/notifications.xml index 3a01084b9a1ed1efd045c9ef6ecfb22663179bda..5c5d3b342a410524139120056780de1190b8bc22 100644 --- a/indra/newview/skins/default/xui/en/notifications.xml +++ b/indra/newview/skins/default/xui/en/notifications.xml @@ -3975,7 +3975,7 @@ Join me in [REGION] icon="alertmodal.tga" name="TeleportRequestPrompt" type="alertmodal"> -Request a teleport to [NAME] location with the following message +Request a teleport to [NAME_SLURL] with the following message <tag>confirm</tag> <form name="form"> <input name="message" type="text">