Friendship accepted notifications as tips with linked names

This commit is contained in:
Liru Færs
2020-03-27 00:51:45 -04:00
parent 89ce328ba5
commit 731283aa0b
3 changed files with 5 additions and 5 deletions

View File

@@ -1842,7 +1842,7 @@ void LLIMProcessing::processNewMessage(const LLUUID& from_id,
strings.push_back(from_id.asString());
send_generic_message("requestonlinenotification", strings);
args["NAME"] = name;
args["NAME"] = LLAvatarActions::getSLURL(from_id);
LLSD payload;
payload["from_id"] = from_id;
LLAvatarNameCache::get(from_id, boost::bind(&notification_display_name_callback, _1, _2, "FriendshipAccepted", args, payload));

View File

@@ -7862,7 +7862,7 @@ Offer a teleport?
icon="notify.tga"
name="FriendshipAccepted"
log_to_im="true"
type="notify">
type="notifytip">
<tag>friendship</tag>
[NAME] accepted your friendship offer.
</notification>
@@ -7872,7 +7872,7 @@ Offer a teleport?
name="FriendshipDeclined"
log_to_im="true"
persist="true"
type="notify">
type="notifytip">
<tag>friendship</tag>
[NAME] declined your friendship offer.
</notification>

View File

@@ -3386,11 +3386,11 @@ L'objet [OBJECTFROMNAME] appartenant à un utilisateur inconnu vous a donné un(
</notification>
<notification name="FriendshipAccepted">
[NAME_SLURL] a accepté votre amitié. [MESSAGE]
[NAME] a accepté votre amitié.
</notification>
<notification name="FriendshipDeclined">
[NAME_SLURL] a refusé votre amitié. [MESSAGE]
[NAME] a refusé votre amitié.
</notification>
<notification name="OfferCallingCard">