From 047ff479b7c87a80121c34c04137c113c7a02203 Mon Sep 17 00:00:00 2001 From: Todd Stinson Date: Fri, 8 Jun 2012 19:05:33 -0700 Subject: EXP-1953: Sending an automated IM back to the user who offered the teleport lure informing the inviter that the guest cannot access the region because of their maturity level. --- indra/newview/llviewermessage.cpp | 2 ++ indra/newview/skins/default/xui/en/strings.xml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 7891e98cff..be76b72891 100755 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -2990,6 +2990,7 @@ void process_improved_im(LLMessageSystem *msg, void **user_data) params.substitutions = args; params.payload = payload; LLPostponedNotification::add( params, from_id, false); + send_simple_im(from_id, LLTrans::getString("TeleportMaturityExceeded"), IM_NOTHING_SPECIAL, session_id); } else if (doesUserRequireMaturityIncrease) { @@ -3083,6 +3084,7 @@ void process_improved_im(LLMessageSystem *msg, void **user_data) params.substitutions = args; params.payload = payload; LLPostponedNotification::add( params, from_id, false); + send_simple_im(from_id, LLTrans::getString("TeleportMaturityExceeded"), IM_NOTHING_SPECIAL, session_id); } else if (doesUserRequireMaturityIncrease) { diff --git a/indra/newview/skins/default/xui/en/strings.xml b/indra/newview/skins/default/xui/en/strings.xml index 4ccec4838a..206a7421d6 100644 --- a/indra/newview/skins/default/xui/en/strings.xml +++ b/indra/newview/skins/default/xui/en/strings.xml @@ -3757,4 +3757,6 @@ Try enclosing path to the editor with double quotes. High Very High + The user you have offered to teleport cannot view the region's content. + -- cgit v1.2.3