diff -r 6a3e7e403bd1 indra/newview/llviewermessage.cpp
--- a/indra/newview/llviewermessage.cpp Thu Jun 09 16:27:11 2011 -0400
+++ b/indra/newview/llviewermessage.cpp Tue Jun 14 17:00:26 2011 -0700
@@ -6266,6 +6266,15 @@
bool handle_lure_callback(const LLSD& notification, const LLSD& response)
{
+ if(notification["payload"]["ids"].size() > 250)
+ {
+ // More than 250 targets will overload the message.
+ LLSD args;
+ args["OFFERS"] = notification["payload"]["ids"].size();
+ LLNotificationsUtil::add("TooManyTeleportOffers", args);
+ return false;
+ }
+
std::string text = response["message"].asString();
LLSLURL slurl;
LLAgentUI::buildSLURL(slurl);
diff -r 6a3e7e403bd1 indra/newview/skins/default/xui/en/notifications.xml
--- a/indra/newview/skins/default/xui/en/notifications.xml Thu Jun 09 16:27:11 2011 -0400
+++ b/indra/newview/skins/default/xui/en/notifications.xml Tue Jun 14 17:00:26 2011 -0700
@@ -3698,6 +3698,19 @@
+You attempted to make [OFFERS] teleport offers;
+250 are the most that can be done at one time
+ group
+ fail
+
+
+
+
God summon Resident to your location?