diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 7891e98cffd03a84fd9ced79f7a1ea187b92bf74..be76b72891326b8276d2f1856fa195bf1b6193b1 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<LLPostponedOfferNotification>( 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<LLPostponedOfferNotification>( 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 4ccec4838ac00a6bdf57cd01fee2d23cb5e5a251..206a7421d67ded0af29e23208bd4b46769fd1c63 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. <string name="snapshot_quality_high">High</string> <string name="snapshot_quality_very_high">Very High</string> + <string name="TeleportMaturityExceeded">The user you have offered to teleport cannot view the region's content.</string> + </strings>