diff options
author | Alexei Arabadji <aarabadji@productengine.com> | 2010-02-19 14:04:25 +0200 |
---|---|---|
committer | Alexei Arabadji <aarabadji@productengine.com> | 2010-02-19 14:04:25 +0200 |
commit | 5d0993193b1266513e2a119e5f9baab7add7f0e4 (patch) | |
tree | c3ec869c62931d77d87a2b640d343b888c11909a /indra/newview | |
parent | 36f8239fe1ed4b9de6dd8221bc12fd766e531436 (diff) |
EXT-5101 “No feedback provided when accepting a friend request”,
suppresed toasting when logging accept/decline
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llviewermessage.cpp | 8 | ||||
-rw-r--r-- | indra/newview/skins/default/xui/en/notifications.xml | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 05ef060ec5..b36f58f8ff 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -194,14 +194,18 @@ bool friendship_offer_callback(const LLSD& notification, const LLSD& response) msg->addUUIDFast(_PREHASH_FolderID, fid); msg->sendReliable(LLHost(payload["sender"].asString())); + LLSD payload = notification["payload"]; + payload["SUPPRESS_TOAST"] = true; LLNotificationsUtil::add("FriendshipAcceptedByMe", - notification["substitutions"], notification["payload"]); + notification["substitutions"], payload); break; } case 1: // Decline { + LLSD payload = notification["payload"]; + payload["SUPPRESS_TOAST"] = true; LLNotificationsUtil::add("FriendshipDeclinedByMe", - notification["substitutions"], notification["payload"]); + notification["substitutions"], payload); } case 2: // Send IM - decline and start IM session { diff --git a/indra/newview/skins/default/xui/en/notifications.xml b/indra/newview/skins/default/xui/en/notifications.xml index 19b70cc0ba..4fa5d965c8 100644 --- a/indra/newview/skins/default/xui/en/notifications.xml +++ b/indra/newview/skins/default/xui/en/notifications.xml @@ -5216,7 +5216,7 @@ Friend request accepted. <notification icon="notify.tga" name="FriendshipDeclinedByMe" - type="notify"> + type="offer"> Friend request declined. </notification> |