MAINT-397 Teleport offers are not received after disabling "do not disturb" mode

meow-7.2.2
andreykproductengine 2017-02-13 20:15:26 +02:00
parent 1c0a2f8779
commit 4524677fe5
1 changed files with 5 additions and 4 deletions

View File

@ -3038,16 +3038,17 @@ void process_improved_im(LLMessageSystem *msg, void **user_data)
{
return;
}
else if (is_do_not_disturb)
{
send_do_not_disturb_message(msg, from_id);
}
else if (gSavedSettings.getBOOL("VoiceCallsFriendsOnly") && (LLAvatarTracker::instance().getBuddyInfo(from_id) == NULL))
{
return;
}
else
{
if (is_do_not_disturb)
{
send_do_not_disturb_message(msg, from_id);
}
LLVector3 pos, look_at;
U64 region_handle(0);
U8 region_access(SIM_ACCESS_MIN);