summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermessage.cpp
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2010-02-19 12:33:15 +0200
committerMike Antipov <mantipov@productengine.com>2010-02-19 12:33:15 +0200
commit36f8239fe1ed4b9de6dd8221bc12fd766e531436 (patch)
tree3ae9db1ea0ad57356f399ceefd129dd4127b2feb /indra/newview/llviewermessage.cpp
parent3fb3b9cf217dce42991b288f5caf0266932bef94 (diff)
parente492a24a198a9a66169cf71fcfacf74ff71ed33b (diff)
Merge
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llviewermessage.cpp')
-rw-r--r--indra/newview/llviewermessage.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index cf7fb8d7eb..05ef060ec5 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -193,9 +193,16 @@ bool friendship_offer_callback(const LLSD& notification, const LLSD& response)
msg->nextBlockFast(_PREHASH_FolderData);
msg->addUUIDFast(_PREHASH_FolderID, fid);
msg->sendReliable(LLHost(payload["sender"].asString()));
+
+ LLNotificationsUtil::add("FriendshipAcceptedByMe",
+ notification["substitutions"], notification["payload"]);
break;
}
case 1: // Decline
+ {
+ LLNotificationsUtil::add("FriendshipDeclinedByMe",
+ notification["substitutions"], notification["payload"]);
+ }
case 2: // Send IM - decline and start IM session
{
// decline