Enable call requests always.

This commit is contained in:
Cody Henthorne
2020-07-21 13:37:29 -04:00
committed by Greyson Parrelli
parent 85e4697b7f
commit 0815715f7b
2 changed files with 1 additions and 8 deletions

View File

@@ -405,7 +405,7 @@ public class WebRtcCallService extends Service implements CallManager.Observer,
return;
}
if (FeatureFlags.profileForCalling() && (remotePeer.getRecipient() == null || !RecipientUtil.isMessageRequestAccepted(getApplicationContext(), remotePeer.getRecipient()))) {
if (remotePeer.getRecipient() == null || !RecipientUtil.isMessageRequestAccepted(getApplicationContext(), remotePeer.getRecipient())) {
Log.i(TAG, "handleReceivedOffer(): Caller is untrusted.");
intent.putExtra(EXTRA_BROADCAST, true);
intent.putExtra(EXTRA_HANGUP_TYPE, HangupMessage.Type.NEED_PERMISSION.getCode());