diff options
author | Alexei Arabadji <aarabadji@productengine.com> | 2009-12-07 15:15:41 +0200 |
---|---|---|
committer | Alexei Arabadji <aarabadji@productengine.com> | 2009-12-07 15:15:41 +0200 |
commit | 0a617f15a83262ab472ca88f146c57bb0f6a6a73 (patch) | |
tree | 849d190131693d9ea976c0ce25501801d03ce5cb /indra/newview/llavataractions.cpp | |
parent | 67ff38b51b59766ff7bc0af1e541b54ac067ea70 (diff) |
implemented EXT-2797 “Making friendship offer should be recorded into IM history”
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llavataractions.cpp')
-rw-r--r-- | indra/newview/llavataractions.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llavataractions.cpp b/indra/newview/llavataractions.cpp index a7a6da3ac2..5af023f565 100644 --- a/indra/newview/llavataractions.cpp +++ b/indra/newview/llavataractions.cpp @@ -487,6 +487,13 @@ void LLAvatarActions::requestFriendship(const LLUUID& target_id, const std::stri IM_ONLINE, IM_FRIENDSHIP_OFFERED, calling_card_folder_id); + + LLSD args; + args["TO_NAME"] = target_name; + LLSD payload; + payload["SESSION_NAME"] = target_name; + payload["SUPPRES_TOST"] = true; + LLNotificationsUtil::add("FriendshipOffered", args, payload); } //static |