Commits

Stinson Linden  committed 31a2cc3

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.

  • Participants
  • Parent commits 6294df3

Comments (0)

Files changed (2)

File indra/newview/llviewermessage.cpp

 					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)
 				{
 				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)
 			{

File indra/newview/skins/default/xui/en/strings.xml

   <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&apos;s content.</string>
+
   </strings>