#2626 fix for incoming IM calls not being rejected when DND mode is active
parent
f93493cb27
commit
2dfa996db7
|
|
@ -3550,6 +3550,7 @@ void LLIMMgr::inviteToSession(
|
|||
&& voice_invite && "VoiceInviteQuestionDefault" == question_type)
|
||||
{
|
||||
LL_INFOS("IMVIEW") << "Rejecting voice call from initiating muted resident " << caller_name << LL_ENDL;
|
||||
payload["voice_channel_info"] = voice_channel_info;
|
||||
LLIncomingCallDialog::processCallResponse(1, payload);
|
||||
return;
|
||||
}
|
||||
|
|
@ -3598,6 +3599,7 @@ void LLIMMgr::inviteToSession(
|
|||
send_do_not_disturb_message(gMessageSystem, caller_id, session_id);
|
||||
}
|
||||
// silently decline the call
|
||||
payload["voice_channel_info"] = voice_channel_info;
|
||||
LLIncomingCallDialog::processCallResponse(1, payload);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue