EXP-1953: Ensuring to send the IM_LURE_DECLINED message back to the inviter.

meow-7.2.2
Todd Stinson 2012-06-08 19:13:26 -07:00
parent 047ff479b7
commit b73563f9fa
1 changed files with 2 additions and 0 deletions

View File

@ -2991,6 +2991,7 @@ void process_improved_im(LLMessageSystem *msg, void **user_data)
params.payload = payload;
LLPostponedNotification::add<LLPostponedOfferNotification>( params, from_id, false);
send_simple_im(from_id, LLTrans::getString("TeleportMaturityExceeded"), IM_NOTHING_SPECIAL, session_id);
send_simple_im(from_id, LLStringUtil::null, IM_LURE_DECLINED, session_id);
}
else if (doesUserRequireMaturityIncrease)
{
@ -3085,6 +3086,7 @@ void process_improved_im(LLMessageSystem *msg, void **user_data)
params.payload = payload;
LLPostponedNotification::add<LLPostponedOfferNotification>( params, from_id, false);
send_simple_im(from_id, LLTrans::getString("TeleportMaturityExceeded"), IM_NOTHING_SPECIAL, session_id);
send_simple_im(from_id, LLStringUtil::null, IM_LURE_DECLINED, session_id);
}
else if (doesUserRequireMaturityIncrease)
{