summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorVadim ProductEngine <vsavchuk@productengine.com>2010-12-13 18:38:12 +0200
committerVadim ProductEngine <vsavchuk@productengine.com>2010-12-13 18:38:12 +0200
commit31d401e1c3ccedfc06b9efda51923d050029cfc9 (patch)
tree49d667ec77513afda3ee89126b52bae44a09491c /indra
parente27bcbe0d20c87556b0bcb1e3feaaea6544d3e16 (diff)
STORM-401 FIXED Add recepients of teleport offers to the recent people list.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llviewermessage.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index b7f72a2e4c..7313463f1b 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -6306,6 +6306,9 @@ bool handle_lure_callback(const LLSD& notification, const LLSD& response)
payload["from_id"] = target_id;
payload["SUPPRESS_TOAST"] = true;
LLNotificationsUtil::add("TeleportOfferSent", args, payload);
+
+ // Add the recepient to the recent people list.
+ LLRecentPeople::instance().add(target_id);
}
}
gAgent.sendReliableMessage();